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 / george

super and this will use first line of constructor so we cant
use it...i ll show error

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array length?

501


What is Recursion Function?

637


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1847


How do you implement polymorphism in our day to day life?

2758


Explain the significance of class loaders in bootstrap?

496






What are wrapper classes in java?

594


Write a program to calculate factorial in java?

580


What is implicit object in java?

543


What is constructor and virtual function? Can we call a virtual function in a constructor?

674


What are synchronized methods ?

612


Does anyone still use java?

579


how to split string in java?

647


How do you generate random numbers in java?

510


Can we override constructor in java?

574


What is string value?

632