+ 1

How many constructor can be used in a single java class

Java

24th Mar 2017, 3:17 PM
finie
finie - avatar
5 Antworten
+ 17
as many as you require
24th Mar 2017, 7:02 PM
Safiya Yunus
Safiya Yunus - avatar
+ 5
You can always create as many of the same functions you want in the same class as long as they have different signatures. Signature / one of these must be different: Return type, name, or perameters. With constructors, it'd only need a different parameter.
24th Mar 2017, 5:03 PM
Rrestoring faith
Rrestoring faith - avatar
+ 2
thanks alot
24th Mar 2017, 3:45 PM
finie
finie - avatar