What is the difference between this() and super()?
Answer Posted / tulasi prasad
this keyword is used to invoke the current class properties.
Where as super keyword is used to invoke the immidiate
super class properites.
Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What is keyword auto for?
What's the purpose of static methods and static variables?
How would overload a function based on return type?
What is file in java?
Can we extend private class in java?
Can we have try without catch block?
If a method is declared as protected, where may the method be accessed?
What are static blocks in java ?
Can we have two methods in a class with the same name?
Is main an identifier?
What is balanced tree in java?
What are byte codes?
What is numeric function?
What is a variable analysis?
What is the common usage of serialization? What exceptions occur during serialization?