Difference between this(), super()?
Answer Posted / janet
this() can be used to invoke a constructor of the same
class where as super() can be used to invoke a super class
constructor.
| Is This Answer Correct ? | 53 Yes | 6 No |
Post New Answer View All Answers
What is the purpose of static methods and static variables?
Explain different types of thread priorities ?
Explain inheritance in java?
What is struts in java?
Can java list be null?
What is the benefit of abstract class?
Differentiate between run time error and syntax error.
What is temp in java?
What is number data type in java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What do you mean by buffering?
Is constructor inherited?
Explain about automatic type conversion in java?
What is method overloading in JAVA? Why is it not present in C ?
Can we execute a program without main() method?