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
Is ++ operator is thread safe in java?
Difference between start() and run() method of thread class?
What are the main uses of java?
Can you use abstract and final both with a method?
Explain the difference between the public, private, final, protected, and default modifiers?
Can we create object of inner class in java?
What is threaded programming and when is it used? : Java thread
What is final keyword?
What is the role of garbage collector in java?
What is continuity of a function?
What methods are used in Servlet?Applet communication?
What is try-with-resources in java?
How does multithreading take place on a computer with a single cpu?
Using callable statement how can you pass out parameters, explain with example?
Why java is a platform independent? Explain