write a problem to implement all types of constructor in a single program in java​

Question

write a problem to implement all types of constructor in a single program in java​

in progress 0
Ava 2 years 2021-06-24T12:55:09+00:00 1 Answers 0 views 0

Answers ( )

    0
    2021-06-24T12:56:36+00:00

    Answer:

    A constructor is a special type of function with no return type. Name of constructor should be same as the name of the class. We define a method inside the class and constructor is also defined inside a class. A constructor is called automatically when we create an object of a class.

    Explanation:

    #KeepLearning…

    .

    .

    .

    Warm regards:Miss chikchiki

Leave an answer

Browse

9:3-3+1x3-4:2 = ? ( )