Difference between this(), super()?
Answers were Sorted based on User's Feedback
Answer / jitender
this,super key words not accepted static keyword.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
How can you debug the Java code?
What are parsing rules?
Which oo concept is achieved by using overloading and overriding?
What is a nested class?
why not override thread to make a runnable? : Java thread
What are the different collection views provided by maps?
Is sizeof a keyword in java programming?
Can we overload the main() method?
What is a methodologist?
Can constructor be synchronized?
How we can execute any code even before main method?
What if I write static public void instead of public static void in java?