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



Which of the following can be referenced by a variable? A. The instance variables of a class ..

Answer / kraja

C. The instance variables and methods of a class.

Is This Answer Correct ?    30 Yes 5 No

Which of the following can be referenced by a variable? A. The instance variables of a class ..

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

Post New Answer

More Core Java Interview Questions

How to define a constant variable in Java?

1 Answers   TCS,


When will we use class loader?

2 Answers  


Explain Linked HashSet

1 Answers  


What is java full form?

0 Answers  


what is business delegate?

2 Answers   TCS,


What is the difference between jsp and servlet?

6 Answers   Symphony,


What is meant by overloading?

0 Answers  


Can we have a method name same as class name in java?

0 Answers  


What are the restrictions imposed on method overriding?

0 Answers  


How are variables stored?

0 Answers  


Iterator in the HashMap is fail-safe means what?

9 Answers   CTS, IBM, Subex,


What is float in java?

0 Answers  


Categories