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
What is array length?
What is Recursion Function?
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
How do you implement polymorphism in our day to day life?
Explain the significance of class loaders in bootstrap?
What are wrapper classes in java?
Write a program to calculate factorial in java?
What is implicit object in java?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What are synchronized methods ?
Does anyone still use java?
how to split string in java?
How do you generate random numbers in java?
Can we override constructor in java?
What is string value?