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
Which of the following classes will have more memory allocated?
What are the differences between c++ and java?
How does list work in java?
How can we make sure main() is the last thread to finish in java program?
Is arraylist dynamic in java?
Can a class be private?
What are the new features in java 8? Explain
Does anyone still use java?
Can a abstract class be defined without any abstract methods?
What is core java used for?
Difference between string, string builder, and string buffer?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What are packages in java?
What is predicate in java?
Where is const variable stored?