+ 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
3 Answers
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?