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
algol [13]
3 years ago
10

(The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and

Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address.A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has
Computers and Technology
1 answer:
Mariulka [41]3 years ago
3 0

Answer:

Explanation:

The following code is written in Java and creates all the classes as requested with their variables, and methods. Each extending to the Person class if needed. Due to technical difficulties I have attached the code as a txt file below, as well as a picture with the test output of calling the Staff class.

You might be interested in
Write a statement that reads a floating point value from standard input into temperature. Assume that temperature. has already b
Vladimir79 [104]

Answer:

cin>>temperature;

Explanation:

This statement in c++ will take the input.The value entered by the user  on the screen will be stored in the variable temperature. cin is an standard input method in c++ and is used take input from the screen. It is an object of istream class that is standard input stream .It corresponds to C stream stdin.

8 0
3 years ago
The graphic shows a cause and effect organizational aid.
nika2105 [10]

Answer:

gets good grades

3 0
3 years ago
How is all data stored on a computer?
Maru [420]

Answer:

All data in a computer is stored as a number. Binary data is primarily stored on the hard disk drive (HDD). The device is made up of a spinning disk (or disks) with magnetic coatings and heads that can both read and write information in the form of magnetic patterns.

Explanation:

Please mark me as brainilest if you don't mind and have a wonderful day!! :D

4 0
3 years ago
Read 2 more answers
What is the output of the following code snippet? int age = 25; if (age > 30) { System.out.println("You are wise!"); } else {
Lunna [17]

Answer:

You have much to learn!

Explanation:

In the question the variable age has been declared and assigned the value of 25.

The if Statement checks if age >30 to output "You are wise!" else it will output "You have too much to learn"

Since age has been assigned the value of 25, we expect the program to execute the else block which is "You have too much to learn"

4 0
3 years ago
Why do we need to shutdown our computer unit before we clean and disassemble?
Len [333]
Silly question! Of course you have to shutdown because you can ruin some components. Also you can block the CPU fan, CPU is very hot like the computer internals.
3 0
4 years ago
Other questions:
  • Create short names for the terms below based on the naming conventions rules.
    14·1 answer
  • Which of the following are incorrect safety precautions for equipment operators? A. Drive equipment or vehicles on grades or roa
    7·2 answers
  • Consider the following table used for grading assignments.
    10·1 answer
  • . An access specifier is one of three keywords:
    14·1 answer
  • What is the advantage of processor affinity on SMP computers ?
    14·1 answer
  • Employee names are stored using a maximum of 50 characters. This information is an example of which of the following?
    9·1 answer
  • Using your own words, explain how third-party cookies are created. Suppose you are an ad-serving company, and you maintain a log
    9·1 answer
  • Features of action files​
    15·1 answer
  • On what aspect of digital media do people often focus on at the expense of the important supporting roles?
    8·1 answer
  • 3) Controls on a form or report that describe each field—often the field name—in the underlying table
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!