KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
It works fine when constructors are not defined, but gives errors if I define a parameterized constructor and not a default one and not passing any values while creating an object . I thought constructors are predefined. Why do I need to define a default constructor if I've defined a parameterized constructor? Ain't default constructor predefined?
Tags (comma-separated)
Save Edits
Cancel