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
Answer / kraja
C. The instance variables and methods of a class.
| Is This Answer Correct ? | 30 Yes | 5 No |
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 |
Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?
Can you explain the usages of class.forname()?
What are different types of Exceptions?.
What do you mean by an interface in java?
What is meant by tab pans?
Are strings immutable in java?
Explain the use of sublass in a java program?
What is the difference between sop and work instruction?
What is a method ?
What are assembly attributes?
What is default exception handling in java?
What is means by DLL file means ? What is the use of DLL file? What are the contents of DLL file?