Difference between this(), super()?
Answer Posted / a .k. singh
This keyword is pointing the same class object.and
super keyword is accessing the superc lass constructor
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the difference between object oriented programming language and object based programming language?
Can we declare a static variable inside a method?
Can a class have multiple constructors?
What is a heavyweight component?
How to run a JAR file through command prompt?
How do you use compareto in java?
Explain the difference between collection api and stream api in java8?
Which class is the superclass for every class in java programming?
Is null == null in java?
What does sprintf return?
What is assembly language?
What is the relationship difference the canvas class and the graphics class?
What causes memory leaks in java?
What is the r character?
Explain numeric promotion?