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 a lambda expression ? What's its use ?
Explain the difference between association, aggregation and inheritance relationships.
What is t in parametric equations?
What are the new features in java 8?
What is meant by binding in rmi?
What happens if main method is not static?
What is the console in java?
How to create a custom exception?
What is the intersection and union methods?
What is http client in java?
What is instance synchronization?
What are different types of control structures?
Write a program in java to find the maximum and minimum value node from a circular linked list.
Explain the polymorphism principle?
What are the differences between path and classpath variables?