How are this() and super() used with constructors?
Answer Posted / rajesh
this() class refer to current class constructor;
super() refers to base class.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can a private method be declared as static?
Give a practical example of singleton class usage?
What are the procedures?
What is the main use of generics in java?
What is a method vs function?
What is an infinite loop in java? Explain with an example.
What is local declaration?
Why 1 is not a prime number?
What is the association?
Explain the polymorphism principle?
What means public static?
Can we use a switch statement with strings?
What methods are used to get and set the text label displayed by a button object?
Is java util list serializable?
Is it safe to install java on my computer?