1. Why are constructors useful for performing “start-up” operations?
2. Under what circumstances does Java automatically provide a default constructor for a class?
3.What do you call a constructor that accepts no arguments?
4. When the same name is used for two or more methods in the same class, how does Java tell them apart?
5. How does method overloading improve the usefulness of a class?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here