Which part of the object declaration statement create new object?
declaration
instantiation
initialization
none of these
Which of the following is the way to control access to members of a class from within a java program?
Compiler
Interpreter
Access specifier
Which of the following is done by the new operator to instantiate a class?
Allocating memory for a new object
Deallocating memory for a new object
Reallocating memory for a new object
Creating a new object
How many primitive data types are there in java
7
8
5
6
Which is a method that returns the value of a data member of the class?
Public method
Accessor method
Default method
What are the built in datatypes in java called as?
composite datatypes
user defined datatypes
primitive datatypes
all of these
Which of the following operator is used to create objects along with the class constructor?
Arithmetic operator
Conditional operator
New operator
Dot operator(.)
Which of the following is an example of composite datatype?
object
variable
class
method
Which of the following does the availability of user defined data type depends upon?
Scope
Class
Method
Object
Which of the following is a part of object declaration statement?
Declaration
Instantiation
Initialization
all of these.