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
What is a “stateless” protocol ?
What is polymorphism and what are the types of it?
How do you override a method?
How big is a boolean?
What is the difference between stringbuffer and stringbuilder?
What is abstract class constructor called?
What is the difference between a method and a procedure?
What is the difference between sleep and wait in java?
Why vector class is used?
What is instance synchronization?
Explain about abstract classes in java?
What is factor r?
What is data string?
What is classpath?
How to create an immutable class?