Java Objective Questions Answers -Chapter 1
- 
						 
36. Main method parameter has which type of data type
- int
 - char
 - string
 - double
 
Answer :
Option C
 - 
						 
37. String is the predefined
- Method
 - Class
 - Variable
 - Object
 
Answer :
Option B
 - 
						 
38. Which driver is efficient and always preferable for using JDBC applications
- Type-4 driver
 - Type-3 driver
 - Type-2 driver
 - Type-1 driver
 
Answer :
Option A
 - 
						 
39. JAR file contains the compressed version of
- .java file
 - .class file
 - .jsp file
 - None of above
 
Answer :
Option B
 - 
						 
40. Which method of java is invoked by JVM to reclaim the inaccessible memory location
- reclaim() method
 - final() method
 - finalize() method
 - both b and c
 
Answer :
Option C
 - 
						 
41. Object which can store group of other objects is called
- Collection object
 - Java object
 - Package
 - Wrapper
 
Answer :
Option A
 - 
						 
42. Private Constructors can't be access from any derived classes neither from another class
- True
 - False
 
Answer :
Option A
 
