How are this() and super() used with constructors?
Answer Posted / sunil kishore balla
super() is used to invoke a super class constructor and
this() is used to invoke a constructor of the same class
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What two classes are used to read data only?
What is reflexive association?
How can we use primitive data types as objects?
When is the garbage collection used in Java?
How a string is stored in memory?
how is final different from finally and finalize in java?
Detail discussions on JVM, memory management and garbage collector.
Does apple use java?
What is the common usage of serialization? What exceptions occur during serialization?
What is ph and buffers?
What does it mean that strings are immutable?
What is return in java?
What is the use of conditional statement?
When do you get classcastexception?
Can you explain the cs option of java interpreter?