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 difference between throw and throws ?

618


Is java an open source?

530


Explain methods specific to list interface?

563


What are different types of states exist for a thread?

557


How do you declare an array in java?

530






What is meant by final class?

577


What happens when I use / and % with a negative numerator?

542


Why do we need autoboxing in java?

532


What restrictions are placed on method overriding in java programming?

555


Is map ordered in java?

539


What is the same as procedures?

542


what is nested class in java?

611


How do you escape sequences in java?

602


What is map java?

527


Write a factorial program using recursion in java?

522