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 / kraja
C. The instance variables and methods of a class.
| Is This Answer Correct ? | 30 Yes | 5 No |
Post New Answer View All Answers
Can we create object of static class?
Explain the hierarchy of java exception classes?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What is called module?
Can we assign null to double in java?
Can a method inside a interface be declared as final?
Is passing by reference faster?
How do you use compareto?
What is double checked locking in singleton?
Is call by reference possible in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What are variable arguments or varargs?
Are arrays static in java?
When super keyword is used?
What advantage do java's layout managers provide over traditional windowing systems?