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 is meant by memory leak?
How thread scheduler schedule the task?
What is the primitive type byte?
Difference between nested and inner classes ?
How to create a custom exception?
How hashmap increases its size in java?
What is dynamic array in java?
What is numeric data type?
What is the java virtual machine?
What is the difference between static (class) method and instance method?
What are three types of loops in java?
What is the difference between integer parseint and integer valueof?
Can classes declared using the abstract keyword cab be instantiated?
What is the preferred size of a component in java programming?
What is the method to expand and collapse nodes in a jtree?