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 |
What are the types of web technologies?
System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...
What is public static void main?
What is downcasting?
5 Coding best practices you learned in java?
Explain about narrowing conversion in java?
What are three ways in which a thread can enter the waiting state in java programming?
Can the garbage collection be forced by any means?
What is the return type of a program?s main() method?
What is an argument in java?
How Vector class is synchronized,How to build user defined class as synchronized?
Where are variables stored?