In Object Class MCQs, we will cover following things in it. Object declaration syntax, new operator, class syntax, Java methods, logical mcqs
A. static variable
B. local variable
C. instance variable
View Answer
A. allocating memory at runtime
B. allocating memory at compile time
C. releasing memory at runtime
D. All of above
View Answer
A. reference variable
B. method
C. constructor
D. All of above
View Answer
A. initialization by reference variable
B. initialization by method
C. initialization by constructor
D. None of above
View Answer
A. initialization by reference variable
B. initialization by method
C. initialization by constructor
D. None of above
View Answer
A. by new keyword
B. by newInstance() or clone() method
C. by deserialization & factory method
D. All of Above
View Answer
A. An object with final properties
B. An object with no reference
C. An object with static methods
D. All of above
View Answer