How are this() and super() used with constructors?
Answer Posted / ravikiran(aptech mumbai)
this() is used to call constructors wih in same class where
as super() is used to call the constructors of it's super class
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
What is the disadvantage of synchronization?
How garbage collection is done in java?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
Tell us something about an iterator.
What are the differences between Java 1.0 and Java 2.0?
Is empty .java file name a valid source file name?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What are wrapped classes in java programming?
Does java have a compiler?
What are the restriction imposed on a static method or a static block of code?
Differentiate jar and war files?
Is java based on c?
What is the function of java?
Why do we use regex?
What is the difference between normal report & matrix report?