What is the difference between this() and super()?
Answer Posted / varunkumar
this keyword is used to invoke the current class properties.
Where as super keyword is used to invoke the immidiate
super class properites.
this keyword is same name of mathed and decleare value is
used the this class
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the steps in the jdbc connection?
How we can make copy of a java object?
Why method overriding is used?
What is the function of character?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
Explain the difference between abstract classes and interfaces in java?
What is a function argument in java?
What is unicode full form?
Explain 5 features introduced in jdk 1.7?
How to instantiate member inner class?
What does java ide mean?
What is the difference between the ">>" and " >>>" operators in java?
What is scanner in java?
What is high level language in computer?
Explain the difference between abstract class and interface in java?