Difference between this(), super()?

Answers were Sorted based on User's Feedback



Difference between this(), super()?..

Answer / jitender

this,super key words not accepted static keyword.

Is This Answer Correct ?    0 Yes 0 No

Difference between this(), super()?..

Answer / anil kumar singh

1: 'this' keyword is only use to call to parametic
constructors within the same class.

2: 'super' keyword is use to call to parametric
constructors of base class.

Is This Answer Correct ?    7 Yes 12 No

Post New Answer

More Core Java Interview Questions

What is final keyword in java?

0 Answers  


Why string is not a wrapper class?

0 Answers  


What is singleton class and how can we make a class singleton?

0 Answers  


Can u overload main()method.Give with example.

6 Answers   IBM, Schimatic Technologies,


What are the override methods in Object class?

2 Answers   Tech Mahindra, Wipro,






Implementations of set interface?

0 Answers  


How can a class be accessed, If no access modifiers are declared?

4 Answers  


Is the milky way in a void?

0 Answers  


Name and explain the types of ways which are used to pass arguments in any function in java.

0 Answers  


How do you load an HTML page from an Applet ?

2 Answers  


How to avoid the runtime exception ?

2 Answers  


How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.

4 Answers   Cap Gemini,


Categories