Question: Java 1. Which keyword is used to create an instance of a class? A)private B)New C)Final 2. Which of the following statements incorrectly describes the
Java
1. Which keyword is used to create an instance of a class?
A)private B)New C)Final
2. Which of the following statements incorrectly describes the relationship between an object and its members?
A)Each instance of an objects shares the same methods. B)An object has the same list of members.
C) The instance variables of each object are stored together with the variables of other objects.
3. Which of the following is not a function of the dot(.) operator?
A)It is used to create a new object B) it enables you to access public instance variables of any objects within a class
C)It is used to call object methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
