Select from following answers:- Name of the constructors are same as name of the classes.
- It has no return type.
- Every classes have default constructors.
- Whenever any class instantiated,it's constructors called.
- All Above

Above all statements are true regarding Constructors.
Public class class1()
{
public class1()
{
}
}
As we can see in above example,class1 has default constructor with no return type and also name of the constructor is same as name of the class that is class1.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator