Computer Science, asked by Abhinai19, 9 months ago

Define a class Phone Bill with the following descriptions:
Data members:
customerName of type character array
phone Number of type long
no_of_units of type int
of type int
of type float.
rent
amount​

Answers

Answered by udayagrawal49
1

Answer: The required code in JAVA :-

class PhoneBill {

          char[] customerName = new char[20];

          long phoneNumber;

          int no_of_units;

          int rent;

          float amount;

}

Please mark it as Brainliest.

Similar questions