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 |
When should I use singleton pattern?
What is jit and its use?
what is the use of clone() in real time scenario?
How do you sort words in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
In Java list the methods that can be overridden?
can we add two numbers without using arthematic operators? if possible how?
How do we make a class serialize?
What is an object-oriented paradigm?
What are untrusted applets?
I want to persist data of objects for later use. What is the best approach to do so?
how to one war file class to another war file class?