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
zzz [600]
3 years ago
12

All phones must have a way of making and then terminating a connection to the phone network; however the exact procedure for doi

ng so depends upon the nature of the phone (e.g. landline, cell phone, satellite phone). Write a abstract class, Phone, that contains a string instance variable, phoneNumber, a constructor that accepts a string parameter initializing the instance variable, an accessor method, getPhoneNumber, that returns the phoneNumber, a toString method that return the phoneNumber in the form #(phoneNumber), and two abstract methods: a boolean-valued method named createConnection that returns a boolean and accepts an reference to an object of type Network, and a void-returning method, closeConnection, that accepts no parameters
Computers and Technology
1 answer:
lorasvet [3.4K]3 years ago
7 0

Answer:

Java class is given below

Explanation:

public abstract class Phone

{private

String phoneNumber;

public Phone(String phoneNumber)

{

this.phoneNumber = phoneNumber;

}

public String getPhoneNumber()

{

return this.phoneNumber;

}

public String toString()

{

return "#("+this.phoneNumber+")";

}

public abstract boolean createConnection(Network n);

public abstract void closeConnection();

}

You might be interested in
The ability to present an effective message with useful content is obviously important to a good _____ presentation.
Zina [86]

A successful oral presentation depends on your ability to communicate your ideas clearly and with relevant content.

<h3>What is an oral expression? </h3>
  • Oral presentations, often known as public speaking or just presentations, involve one or more speakers discussing a particular topic with an audience.
  • This seeks to provide information, amuse, educate, and/or make a point.
  • When the author speaks in front of other students, coworkers, or other interested groups to convey the results of years of expertise and research while outlining essential elements to success, the book is referred to as an example of oral presentation.
  • An oral presentation is one of the best venues for fusing verbal prowess with powerful nonverbal indicators to extend your communication.
  • It enables people to speak in front of a live audience with assurance about their thoughts and opinions.

To learn more about Oral presentation, refer to:

brainly.com/question/27326303

#SPJ4

7 0
2 years ago
There are spoilers that doctor brenner is back in stranger things four and eleven is going back. Do you believe it or no? Make s
Svetlanka [38]
Wait Doctor Brenner is coming back?!?! Wait omg when??
5 0
3 years ago
Which statement about routers is !!!FALSE!!!
monitta

Answer:

b. they are located at the intersections of the network of wires and cables that make up the internet.

Explanation:

Given that Router is a computer networking device that operates by transferring data packets between computer networks, while also ensuring traffic organizing tasks on the Internet.

Hence, Routers put packets in the right order after they arrive at their destination by matching the destination IP address of the packet and one of the addresses in the routing table.

Also, Routers check the address on each packet that arrives and decide which way it should go next​ by ensuring the data packets are summarized for the outgoing interface recorded in the table entry.

Therefore, the correct answer is option B

8 0
3 years ago
What does altgr mean on a keyboard.
Setler [38]
AltGr (also Alt Graph) is a modifier key found on many computer keyboards (rather than a second Alt key found on US keyboards). It is primarily used to type characters that are not widely used in the territory where sold, such as foreign currency symbols, typographic marks and accented letters.
8 0
3 years ago
Mrs. Schlair has an annual salary of $96,402.<br> a. What would her semimonthly salary be?
amid [387]

Answer:$4016.75

Explanation:64333/24

3 0
3 years ago
Other questions:
  • 1. Which of the following might be a problem taken on by environment engineers?
    8·1 answer
  • The use of public wireless connections can increase a user's vulnerability to monitoring and compromise. ____________ software c
    14·1 answer
  • Name this<br><br>The feature allows you to add text/picture in the background of the document. ​
    11·1 answer
  • Which of the four digital-to-analog conversion techniques is the most susceptible to noise? EXPLAIN WHY.
    6·1 answer
  • What is the value of the cost variable after the following code snippet is executed? int cost = 82; if (cost &lt; 100) { cost =
    15·1 answer
  • When responding to an incident in which explosive materials are suspected, is it safe to use wireless communication devices?
    12·1 answer
  • Write a program that performs the following tasks: Display a friendly greeting to the user Prompt the user for the value to conv
    13·1 answer
  • Si restablesco de fabrica mi pc se borra la bios o no ? ayuda (no puedo acceder ala bios por ninguna forma )
    9·1 answer
  • Who invented pascaline and when?​
    11·2 answers
  • What is the computer that is connected to a<br> server
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!