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
Answers were Sorted based on User's Feedback
Answer / kraja
C. The instance variables and methods of a class.
| Is This Answer Correct ? | 30 Yes | 5 No |
Answer / 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 |
How u dubugg ur project?
What does s mean in regex?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Why call by value prevents parameter value change?
string is immutable? right every one knows that, my question is it advantage or disadvantage making string immutable?
What is a parent class in java?
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What are the files generated after using IDL to java compiler?
What is the gregoriancalendar class in java programming?
Can you explain the private protected field modifier?
What are the features in java?