Difference between this(), super()?

Answer Posted / a .k. singh

This keyword is pointing the same class object.and
super keyword is accessing the superc lass constructor

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of find and replace?

507


How the metacharacters are different from the ordinary characters?

538


Does java support Operator Overloading?

585


What is the history of java?

517


What are the advantages of encapsulation in java?

524






Describe string intern() methodology

570


What is increment in java?

496


How does varargs work in java?

577


Explain 5 io best practices?

570


What is final int?

507


What is scope & storage allocation of global and extern variables? Explain with an example

558


What is implicit object in java?

522


What happens if main method is not static?

474


What is compareto?

521


What are triggers in DB? Explain their types. How do they work?

597