Write the definition of a class Telephone. The class has no constructors,
one instance variable of type String called number,
and two static variables. One is of type int called quantity;
the other is of type double called total. Besides that,
the class has one static method makeFullNumber. The method accepts two arguments,
a String containing a telephone number and an int containing
an area code. The method concatenates the two arguments in the following manner: First comes the area code,
then a dash, then the telephone number. The method returns the resultant string.

Respuesta :

Answer:

public class Telephone{

   private String number;

   private static int quantity = 250;

   private static double total = 15658.92;

}

Explanation:

Answer:

The classification of a phone number

Explanation:

For example, this number represents a typical Nigeria phone number:

009-234-01- 463391

009 is the international dialing code

234 is Nigeria dialing code

01 is the state's area dialing code

ACCESS MORE