Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
In a class if private data member is declared then how to get value of that data member?
Correct Answer:
By using method The method used to get the data is called getter method
← Previous Question
Next Question→
More Questions from
Technology
What is difference between methods and blocks?
What is Constructor?
How to call argument constructor?
What is different among String, StringBuffer, StringBuilder?
What is wrapping?
What is unwrapping?
What is JAR file? what are the main uses of JAR files?
What is the difference between path and classpath?
What is the use of super call?
If super class ref is pointing sub class object then by using super class ref is it possible to call sub class newly defined method?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments