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
How variables are stored in memory?
What is vector capacity in java?
Can a class be defined inside an interface?
What is the difference between a static and a non-static inner class in java programming?
What is the synonym of string?
How to sort an unsorted array in java?
Define inheritance?
What is the purpose of the System class?
Which class should you use to obtain design information about an object in java programming?
Difference between default and protected access specifiers?
Do I need to import java.lang package any time? Why?
What is a generic type?
Can a method inside a interface be declared as final?
How do you avoid global variables?
What is the default value of the local variables?