Difference between this(), super()?
Answer Posted / ghulam mujtaba
this()can be used invoke to Constructor of the same class
Whereas super() can be used to invoke a super class
Constructor
Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
What is the difference between a break statement and a continue statement?
What invokes a thread's run() method in java programming?
How is a variable stored in memory?
What are the types of web technologies?
How is hashset defined in java?
What is difference between filereader and bufferedreader?
Can finally block be used without a catch?
Which collection does not allow duplicates in java?
When does a class need a virtual destructor?
What is class array in java?
What is the private method modifier?
Which method must be implemented by all threads?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What do you mean by static variable?
How will you load a specific locale?