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 do you mean by constant time complexity?
When will we use them?
What is final?
What happens when you add a double value to a string?
What is r in java?
What is the difference between yielding and sleeping?
How to change the priority of thread or how to set priority of thread?
How hashmap works in java?
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?
What is the primitive type byte?
How does arraylist work in java?
What do you mean by light weight and heavy weight components?
State one difference between a template class and class template.
What is meant by stack and queue?
Is java good for beginners?