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
Can we make constructors static?
Can we increase size of array?
What are the concepts of 'OOPS'?
What is the difference between public, private, protected, and friend access?
Why heap memory is called heap?
How to change the priority of thread or how to set priority of thread?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
how does multithreading take place on a computer with a single cpu? : Java thread
What is a parameter in a function?
What is diamond operator in java?
What are keywords and reserved words in java?
Why does abstract class have constructor?
When do we use hashset over treeset?
What kind of variables a class can consist of?
Can we use different return types for methods when overridden?