Chapter-3, Java

1. Garbage collector frees the programmer from worrying about

 
 
 
 

2. Which of the following declaration of a local variable is invalid?

 
 
 
 

3. Which of the following can be used to copy data from one array to another?

 
 
 
 

4. Is null an object?

 
 
 
 

5. A class variable is a variable that is declared inside a class as

 
 
 
 

6. Which of the following package need to be imported to use the StringTokenizer class?

 
 
 
 

7. The statement
System.out.println{Math.ceil(12.3)-Math.floor(3. 9)) ;

 
 
 
 

8. Which of the following keywords is used to declare exceptions that can possibly occur?

 
 
 
 

9. Exceptions that are expected to possibly occur are called

 
 
 
 

10. Which of the following access specifiers is usually used with inheritance?

 
 
 
 

Question 1 of 10