Difference between this(), super()?
Answer Posted / anil kumar singh
1: 'this' keyword is only use to call to parametic
constructors within the same class.
2: 'super' keyword is use to call to parametric
constructors of base class.
Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is the basic concepts of OOPS?
What is the difference between yielding and sleeping in java programming?
what is the volatile modifier for? : Java thread
Describe how to implement singleton design pattern in struts.
What’s the difference between constructors and other methods?
Write a java program to count the number of words present in a string?
What defines function?
what are the methods in object?
What is derived datatype?
How do you trim a space in java?
What is application system?
How variables are stored in memory?
Which class contains a method: cloneable or object?
Is it possible to override the main method?