Which of the following can be referenced by a variable?
A. The instance variables of a class only
B. The methods of a class only
C. The instance variables and methods of a class
Answer Posted / puneet khanna
Why wud u ask this if botth can be accessed by the refence
variable that points to the object of that class;
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between a vector & an array list?
What is difference between iterator access and index access?
What are 3 boolean operators?
Can we have try without catch block?
Can you explain the final method modifier?
What is array in java?
Is static variable stored in heap?
What are methods of a class?
Is an object null?
Write a java program that prints all the values given at command-line.
What are the problems faced by java programmers who don't use layout managers?
What are memory tables?
What are the important features of Java 9 release?
How can we find the sum of two linked lists using stack in java?
What are the 4 types of research methods?