Answer Posted / ravikiran(aptech mumbai)
this keyword is used to refer the current instance of the
particular class where as super keyword is used to refer the
superclass members.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Which package is always imported by default?
What is a method vs function?
how we can create packages in java?
Can we have two main methods in a java class?
What is a Null object?
How can you share data between two thread in Java?
What is map java?
Which class is used by server applications to obtain a port and listen for client requests?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
What is matcher in java?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
Can we make a constructor final?
Similarity and difference between static block and static method ?
How do you sort an array in java?