How are this() and super() used with constructors?
Answer Posted / ramanareddy333
this()refers the current constructor and
super() refers the super class constructor
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
Can we create an object of private class?
How would you use Bubble Sort to sort the number of elements?
What is static data type 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?
What is a variable simple definition?
Difference between character constant and string constant in java ?
What is the use of a copy constructor?
What is a flag variable?
What are the four versions of java?
Does isempty check for null?
What is class and object in java?
What is meant by 'Class access modifiers'?
What do heavy weight components mean in java programming?
Write a program based on Java script program.
Can we have more than one package statement in the source file?