How objects of a class are created if no constructor is defined in the class?

By drakula david in 22 Sep 2023 | 11:29 am
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

How objects of a class are created if no constructor is defined in the class?

22 Sep 2023 | 11:29 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

  - If no constructor is explicitly defined in a class, Java provides a default, no-argument constructor. You can create objects using this default constructor.

23 Sep 2023 | 04:25 pm
0 Likes

Report

Please describe about the report short and clearly.