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 / 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 View All Answers
Write a program to print the pattern given below
What is core java called?
Explain all java features with real time examples
What are static blocks in java ?
What means public static?
How many types of array are there?
Where import statement is used in a java program?
What is size () in java?
How does predicate work in java?
Give us a program to check for parenthesis matching using stack.
How will you serialize a singleton class without violating singleton pattern?
What is a java predicate?
Write a program in java to establish a connection between client and server?
How to read and write image from a file ?
When throws keyword is used?