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


Please Help Members By Posting Answers For Below Questions

what are three ways in which a thread can enter the waiting state? : Java thread

584


What technique is carried out to find out if a particular string is empty?

584


what is the use of bean managed and container managed with example?

1514


What happens when heap memory is full?

538


How do you sort an array in java?

549






What is the java project architecture?

1795


Is there a way to increase the size of an array after its declaration?

606


Why is it called a string?

571


What is the main purpose of serialization in java?

538


What is anagram number?

466


When we serialize an object does the serialization mechanism saves its references too?

518


What is java command?

574


What is finally in Java?

590


Why webdriver is an interface?

589


Can we override constructor?

548