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
Is hashset ordered java?
What is java and their uses?
What are unchecked exceptions in java?
How is hashcode calculated in java?
how we can make a write-only class in java?
What is the purpose of the system class in java?
Which is bigger double or float?
How is it possible for two string objects with identical values not to be equal under the == operator?
In java, how we can disallow serialization of variables?
What are the main uses of this keyword?
Write a code to create a trigger to call a stored procedure
Are static members inherited to sub classes?
What 5 doubled?
Define nashorn in java8.
What is valid keyword in java?