1. Which of the members are referred by this pointer usually (Java)?
Correct Answer is : Members of class where this is used
2. How to refer to method of nested class?
Correct Answer is : depends on where the method is being called
3. How many objects can be referenced from same variables?
Correct Answer is : One at a time
4. Java handles memory dynamically and references are deleted as soon as they are out of scope.
5. Which among the following is true?
Correct Answer is : Object referencing points to same address, if assigned by variables
6. Invoking a method on a particular object is ____________ sending a message to that object.
Correct Answer is : Same as
7. Can reference to an object be returned from a method?
Correct Answer is : Yes, but not always
8. Which among the following is main use of object?
Correct Answer is : To create instance of class
9. Which among the following is main use of object?
Correct Answer is : To create instance of class
10. Which among the following is not a property of an object?
Correct Answer is : Names
11. Which among the following is not a property of an object?
Correct Answer is : Names
12. What is function object?
Correct Answer is : An object with a single function
13. What is function object?
Correct Answer is : An object with a single function
14. Immutable object are used ______________________
Correct Answer is : To set up as a fixed state
15. Immutable object are used ______________________
Correct Answer is : To set up as a fixed state
16. Which object can be used to contain other objects?
Correct Answer is : Container object
17. Which object can be used to contain other objects?
Correct Answer is : Container object
18. What are singleton objects?
Correct Answer is : The only object of a class throughout the program
19. What are singleton objects?
Correct Answer is : The only object of a class throughout the program
20. Object cout and cin _________________
Correct Answer is : Can be used directly with << and >> symbols respectively