0 votes
in JAVA by
What is a constructor in java?

1 Answer

0 votes
by

What is a constructor in java?

A constructor in Java is a special method that is used to initialize objects. The constructor is called when an object of a class is created.

Related questions

+1 vote
asked Jan 24, 2020 in JAVA by rahuljain1
0 votes
asked Feb 8, 2021 in JAVA by SakshiSharma
...