What is the purpose of a constructor?
It creates an array of data values associated with an object.
It prints all of the information about our object.
It returns all data members from an object back to the main method.
It allows us to set our own default values when we create an object.
in java
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here