1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Stels [109]
4 years ago
9

Write the definition of a class Telephone. The class has no constructors, one instance variable of type String called number, an

d two static variables. One is of type int called quantity, initialized to 250; the other is of type double called total, initialized to 15658.92.
Computers and Technology
1 answer:
balu736 [363]4 years ago
5 0

Answer:

The definition of a class Telephone is given as  

public class Telephone // class telephone

{

String number; // variable  number of type string

static int quantity = 250; // variable  quantity  of type int

static double total = 1565.92;  // variable  total  of type double

}

Explanation:

Following is the description of Statement

  • Create a class "Telephone" by using the keyword class.In that class we declared data member .
  • We declared a variable "number" of type "string" which has no constructor.
  • We declared a variable  "quantity" of type "int" which is a static type variable. The static type variable retains the value during the program execution.
  • We declared a variable  "total" of type "double" which is a static type variable. The static type variable retain the value during the program execution .
You might be interested in
A network interface port has collision detection and carrier sensing enabled on a shared twisted-pair network. From this stateme
hram777 [196]

Answer:

This is an Ethernet port operating at half duplex.

Explanation:

Modern Ethernet networks built with switches and full-duplex connections no longer utilize CSMA/CD. CSMA/CD is only used in obsolete shared media Ethernet (which uses repeater or hub).

7 0
3 years ago
Read 2 more answers
Add me on Insta hopethe56
MrRissso [65]
Hsoanabaiis Okay will do
5 0
3 years ago
Read 2 more answers
A survey of results on mobile phone datasets analysis
xxMikexx [17]
PErfect! 100% Absolutely beautiful. 
6 0
3 years ago
Which should you use to find a saved file?
Arlecino [84]

Answer:

C. search box

Explanation:

however that functionality doesnt work as well since the advent of windows xp

8 0
3 years ago
Read 2 more answers
Your company's data center has suffered a recent power outage, and corporate applications were unavailable for two days. You hav
Goryan [66]

Answer:

I would recommend HA.

Explanation:

HA stands for high availability. High availability is recommended because it has the power to be consistent or operational for a great amount of time. It is one of the features of a system whose objective is to make sure that operational performance is higher than it would be normally. Such a system works by having multiple components and checking regularly to see if each of the components are working fine, in a situation were it isn't, a component that is working well will be switched to.

5 0
3 years ago
Other questions:
  • Wendy had been searching the internet for a great deal on jewelry. While looking at one site, a pop-up was displayed that told h
    12·1 answer
  • help users calculate their car miles per gallon. write a program to allow a user to enter the number of miles driven and the num
    15·1 answer
  • I need the alphabet quickly! sorry bad with remembering!
    10·1 answer
  • Ok so another weird question! So if you know what google drive is and how to upload a video why does it keep adding hours! it ke
    11·1 answer
  • Should i change my profile pic<br> dont delete
    15·2 answers
  • Together with some anthropologists, you’re studying a sparsely populated region of a rainforest, where 50 farmers live along a 5
    15·1 answer
  • 9.17 LAB: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is
    6·1 answer
  • Which option is the default when creating appointments and meetings in a user’s own calendar as it relates to Free/Busy informat
    8·1 answer
  • What is the role of a design tWhat is the role of a design tool in a Robotic Process Automation (RPA) solution?
    9·1 answer
  • Write a function called add_tuples that takes three tuples, each with two values, and returns a single tuple with two values con
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!