How many primitive data types are there in java
7
8
5
6
Which of the following does the availability of user defined data type depends upon?
Scope
Class
Method
Object
Which is the least restrictive access modifier?
public
private
protected
default
From where do object receive their storage.
Stack memory
Heap memory
Hash memory
Queue
What are the built in datatypes in java called as?
composite datatypes
user defined datatypes
primitive datatypes
all of these
Which of the following is an example of composite datatype?
object
variable
class
method
Which of the following is not an access specifier?
Private
void
Which of the following is used to invoke methods?
New operator
conditional operator
Dot operator
Arithmetic operator
Which operator is used to return a reference to an object?
Conditional operator
Assignment operator
Which of the following operator is used to create objects along with the class constructor?
Dot operator(.)