Computer Science, asked by santanu156235, 7 months ago

Give 5 java programs on default constructors. for class 10 icse
I will mark as brainliest.

Answers

Answered by mankirai3gmailcom
1

Answer:

If you don’t implement any constructor in your class, the Java compiler inserts default constructor into your code on your behalf. You will not see the default constructor in your source code(the .java file) as it is inserted during compilation and present in the bytecode

Answered by divyakhodade36
1

default constructor is a program which not takes argument.it has no parameter or parameterized constructor.it is possible to pass argument.

Explanation:

hope it helps you

explanation

mark me as brainliest

Similar questions