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 is the benefit of inner / nested classes ?

730


Can java list be null?

751


How to compare two strings in java program?

839


Why is string buffer better than string ?

799


What does it mean that a class or member is final?

751


What is the difference between class forname and new?

774


when to use ArrayList and when to use HashMap in webApplication.

4236


What is java dot?

707


What do u mean by variable?

795


What is java lang object?

741


What is this keyword in java?

798


Differentiate between run time error and syntax error.

818


Can a variable be local and static at the same time?

764


What is the full form of jpeg?

729


What is java virtual machine and how it is considered in context of java’s platform independent feature?

850