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
shepuryov [24]
3 years ago
5

Suppose you have a class Ship, which was written by another programmer who used to work for your employer. Ship is used in sever

al different applications. Ship contains a public method called getBearing() that consults gyroscopes and a compass to determine the direction in which the ship is moving and returns a Location object. You need to refactor the code to use a GPS receiver instead. You should
Computers and Technology
1 answer:
liq [111]3 years ago
7 0

Answer:

Research of the GPS features and the modules and packages needed by the programming language to implement and receive data from a GPS tracker.

Explanation:

The Ship class is a blueprint that holds a data structure of a ship's location in coordinates. The location variable can be changed using the getBearing method and an instance of the ship class can be made several times for different ships in the harbor. This class depicts the power of object-oriented programming.

Refactoring is a concept in software engineering where source codes are modified to achieve code efficiency and speed. All programming language source code should be refactored where needed with the right packages or modules.

You might be interested in
Using this feature keeps the message thread intact.
worty [1.4K]

Answer:

Option 1: Reply is the correct answer.

Explanation:

Emails are used for business and official communications.

Let us look at the options one by one

<u>Reply:</u>

The reply option opens the email editing window. When the reply option is used the emails then are arranged in the form of a message thread. So the reply option keeps the message thread intact.

Hence,

Option 1: Reply is the correct answer.

8 0
3 years ago
Read 2 more answers
which statement is true? O A Future games will be more context oriented. OB. Future games will be more product driven. Future ga
Wittaler [7]

Answer:

b

Explanation:

7 0
3 years ago
Read 2 more answers
A(n) _______ is text or a graphic you can click to jump to another file or to somewhere else in the same file. quizle
Paul [167]
Hyperlink



______________________________
5 0
3 years ago
What happens when you apply a theme to a form?
Ludmilka [50]

Answer:

it will be customizable, you can design it in a different style

Explanation:

4 0
3 years ago
Horizontal lines should be avoided in photographs because they make the photograph appear small.
Dovator [93]
False. horizontal can be used for landscape pictures to create a depth effect
4 0
4 years ago
Other questions:
  • What is one strengths of line graph? a) Line graphs show percentage in a whole b) Line graphs show change over time c) Line grap
    13·2 answers
  • Write a Bare Bones program that takes as input a value for X and places 4 times the value of X into the value of Z. The value of
    10·1 answer
  • Pls help........
    15·1 answer
  • PLEASE HELP ME ASAP ;(
    15·1 answer
  • A​ ________ is a person or organization that seeks to obtain or alter data or other IS assets​ illegally, without the​ owners' p
    12·1 answer
  • Which of the following statements is true?A)Implicit data type conversion is performed when you mix values of different data typ
    5·1 answer
  • What is the purpose of a mutator?
    8·1 answer
  • When you start a new blank document, you begin typing at the
    6·1 answer
  • What is the most vulnerable information that should be protected to prevent unauthorized access to your online files and records
    8·1 answer
  • 100 POINTS!
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!