Quiz 12 Solution - Wednesday June 21, 2000
1. What are the five primary components in a class definition?
- Instance Variables
- Instance Methods
- Class Variables
- Class Methods
- Constructor
2. What are the four primary components in a method signature?
- Access Control Keyword
- Return Type
- Name
- Formal Parameter List
3. What environment variable is used by javac and java to locate class
files?
4. If we write a program which is part of a package, then where does that
program have to be stored?
In a directory which has the same name as the package