how to call One constructor from another;
Answer Posted / sridhar
This.constructername() keyword can be used with in the
class to refer. To use super class constructer we need to
give super.consturctername().
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
List some java keywords sun like c, c + + keywords?
Is void a return type?
Difference between current previous versions of Java?
What is the difference between throw and throws in java?
What is constructor and its types?
What are the limitations of procedural programming approach?
Tell us something about different types of casting?
What is a singleton class? Give a practical example of its usage.
What is overriding in java?
What is a short in java?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
Why is the main method static?
What is difference between char array and string?
What is a prefix function.write down a code to compute prefix function.
What are the four pillars of java?