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

To what value is a variable of the Boolean type automatically initialized?

3 Answers  


System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0

8 Answers   Accenture,


Can java hashmap have duplicate keys?

0 Answers  


How do you reverse a list?

0 Answers  


Can we create a constructor in abstract class?

0 Answers  






Which is the best approach for creating thread ?

0 Answers  


Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?

2 Answers  


Do you know thread pools?

0 Answers   BMC,


What is a treeset in java?

0 Answers  


What is a method ?

6 Answers  


What is thread start?

0 Answers  


What are internal variables?

0 Answers  


Categories