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
What do you mean by thread safe?
What is the difference between a checked and an unchecked exception?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
How do you add an element to a hashset in java?
What is the instance of an object?
How many types of equations are there?
What is the advantage of OOP in java?
What are scalar data types?
What is reverse function?
How many functional interfaces does java 8 have?
Why do we need singleton?
how can you take care of mutual exclusion using java threads? : Java thread
What are the 7 types of characters?
What is treeset in java?
Give a practical example of singleton class usage?