What is the difference between this() and super()?
Answer Posted / kraja
this() should be first statement in the constructor of the
same class and you cannot call this() in other places
| Is This Answer Correct ? | 21 Yes | 22 No |
Post New Answer View All Answers
What is the different between get and post?
Define an enumeration?
What is collections framework?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Explain polymorphism citing an example.
why Interface used?
Why java is made?
What about static nested classes in java?
What is string pool?
Can an interface extend a class?
When can an object reference be cast to an interface reference in java programming?
What are the access modifiers in java?
How is a structure different from array ?
Can you extend main method in java?
Can you override static methods?