[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Technical Discussion :: Java

10. What is super and this in java?How are this() and super() used with constructors?

Answer:

'super' keyword in Java is a reference variable which is used to access parent class objects.



'this' keyword is a reference variable which is used to access current objects.



 

Asked In :: iGate Syntel Inc. Accenture

Post Your Answer Here:

Name *
Email
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here