Computer Science, asked by devkandu143, 15 days ago

define constructor in java?

Answers

Answered by seshail120184
1

Answer:

Explanation:

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.

Answered by lucky99882
2

Answer:

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.

Explanation:

i hope it helps you. if yes then please mark my answer as brainliest

Similar questions