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 |
Can a static method be overridden in java?
what are the analysis of an object
What are the parameters used in Connection pooling?
why we need this (1.object,2.class,3.data hiding,4.encapsulation,5.abstraction,6. polymorphism,7.inheritance)
How to write custom exception in java?
How can I debug the Java security exceptions and AccessControlExceptions?
Mention some interfaces implemented by linked list in java.
What is the use of predicate in java 8?
Can we have two methods in a class with the same name?
what is the swingutilities.invokelater(runnable) method for? : Java thread
what is the difference between abstract class and Interface?where we can use it in realtime projects?
23 Answers Agile Software, Cognizant, IBM, Innodata, Logica CMG, Mitosis, Nagarro, Value Chain,
What is foreach loop in java?