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 r character?

576


Can final class have constructor?

487


What must a class do to implement an interface in java programming?

524


What are the steps that are followed when two computers connect through tcp?

509


Can It is possible to synchronize the constructor of a Java Class?

585






What is constant in programming?

550


What is another word for methodology?

509


Is a class an object?

567


How many bits is a boolean?

608


What does the “static” keyword mean?

574


Differentiate between postfix and prefix operators in java.

626


Why is java architectural neutral?

605


Can private class be extended java?

551


What are the object and class classes used for?

541


What is ascii code?

626