in a constructor what happen if u call super and this in
the same class? i know that it is not possible to call
both in the same one? if we call what will happen?

Answer Posted / srikant bhat

it wil giv an exception -compiler exception

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you remove all elements from an arraylist in java?

504


Explain aggregation in java?

543


What is diamond operator in java?

495


Is void a wrapper class?

529


What are methods and how are they defined?

601






What is entry set in java?

529


How the interruptible method gets implemented?

554


Can we create a class inside a class in java?

542


What is difference between path and classpath variables?

563


Are constructors methods?

565


Is empty string in java?

536


Do I need java on my computer?

524


What is namespace in java?

541


What type of language is java?

539


What are serialization and deserialization?

723