Below is a class named Phone. It has four fields: ownerName, countryCode, cityCode and number.
Add two constructors to the class:
- the first one takes
ownerNameandnumberand initializes the corresponding fields; - the second one takes
ownerName,countryCode,cityCode,numberand initializes all fields.
Do not make the fields and constructors private.