Difference between this(), super()?
Answers were Sorted based on User's Feedback
Answer / jitender
this,super key words not accepted static keyword.
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
How do you compare objects in java?
How is java hashmap implemented?
Explain java code for recursive solution's base case?
What is the program development process?
Does the order of public and static declaration matter in main method?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What is comparator in java?
How do you declare an array in java?
What is the purpose of declaring a variable as final?
What is the main advantage of passing argument by reference?
how to call one program .class file in another program
What is collections framework?