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?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Convert Binary tree to linked list.
Tell me the Importent classes in net package?
What is Java Shutdown Hook?
What is an inner class in java?
How do constructors use this() and super()?
what modifiers are used with top-level class?
How the elements are organized in BorderLayout?
Compare java and python.
What is the this keyword?
Explain access specifiers?
0 Answers Thomson Reuters, Virtusa,