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

How do you compare objects in java?

0 Answers  


How is java hashmap implemented?

0 Answers  


Explain java code for recursive solution's base case?

0 Answers  


What is the program development process?

0 Answers  


Does the order of public and static declaration matter in main method?

0 Answers  






Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

0 Answers  


What is comparator in java?

0 Answers  


How do you declare an array in java?

0 Answers  


What is the purpose of declaring a variable as final?

0 Answers  


What is the main advantage of passing argument by reference?

0 Answers  


how to call one program .class file in another program

7 Answers   TCS,


What is collections framework?

0 Answers  


Categories