+ 1
Constructors
Can some tell me the differrence between when a “constructor receives a String” & a “constructor that requires values”? If possible can I get an example?...... THX
1 Odpowiedź
0
In the first class it is supposed to be 3 fields that a constructor recieves a string and 2 ints.
The second class its the same three fields but they require values?......
Im not sure how that is supposed to look?