0
Does Constructor has return type
5 Respostas
0
no constructor does not have a return type,not even void
0
no constructor ll not have any return type instead it ll hold the current object address in d form of reference variable
0
no constructor does not have any return type,
it is a special type member function, that called on object creation time
0
constructer doesn't have return type, only methods have return types
- 1
Actually, constructor returns the created object. This allows you to write something along these lines: new A().method(); or pass it into a method like this: System.out.println(new A());