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
Explain the differences between static and dynamic variables?
What are basic data types?
What is constructor chaining and how is it achieved in java?
What is the maximum size of array in java?
What is the inheritance?
how to one war file class to another war file class?
What does file separator do in java?
How to provide security in java
What is multiple inheritance? Is it supported by java?
Is it possible to use string in the switch case?
What do you understand by weak reference?
Explain the public class modifier?
Difference between process and thread?
What are the restrictions that are applied to the java static methods?
What is ctrl m character?