he superclass Student contains: a constructor that accepts a String corresponding to the name of the school the student attends a toString method that returns 'student at X' where X is the name of the school the student attends. Write a public subclass HighSchoolStudent, based on Student, which contains: a constructor accepting a String which is used as a parameter to the superclass constructor a toString method that returns 'high school student at X'. This method must use the toString method of its superclass.

Answers

Answer 1

Solution :

public [tex]$\text{class}$[/tex] Student {

[tex]$\text{protected String}$[/tex] school[tex]$;$[/tex]

public [tex]$\text{Student}$[/tex](String school) {

[tex]$\text{this.school}$[/tex] = school;

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"student at"}$[/tex] + school;

}

}

HighSchool[tex]$\text{Student.java}$[/tex] :

public class [tex]$\text{HighSchoolStudent}$[/tex] extends Student {

public [tex]$\text{HighSchoolStudent}$[/tex](String school) {

super[tex]$\text{(school)}$[/tex];

}

public String [tex]$\text{toString}()$[/tex] {

return [tex]$\text{"high school"}$[/tex] + super.[tex]$\text{toString}()$[/tex];

}

}


Related Questions

What is presentation

Answers

To present something infront of a crowd

Answer:

Presentation is the giving of something to someone, especially as part of a formal ceremony.

Explanation:

Cindy, our company’s Chief Technology Officer (CTO), suspects that someone is trying to hack into the company, and she’s heard that you have some cybersecurity skills that could prove useful. Cindy suspects that there are some hackers who are using SQLi to launch attacks and steal information from one of the databases and also to hijack users’ sessions and take over certain accounts. Can you use your cybersecurity penetration testing skills with SQLi to track down the hackers?
Cindy will need for you to submit a report with recommendations on your findings, which is pretty typical for others in your industry with this type of role.
Write a security assessment report that will be sent to the technical team and senior management, and specifically Cindy, the CTO. Your report should be approximately 3 pages and address the following:

Summary of Findings (overview of vulnerabilities found)

Types of tests used (with details on outcomes)

Impact of Threats

How any parts of the CIA Triad could be compromised with the vulnerabilities

Does OWASP have any recommendations that you can apply?

Executive Summary (what recommendations would you give to the CTO)

Present potential solutions, mitigations, or other
suggestions for reducing or eliminating the vulnerability​

Answers

Answer:

I'm a cyber security enthusiast

Explanation:

How do you want the report delivered to you?

Which task can be completed using both the Shape Fill and Shape Outline panes of PowerPoint?
O adding color
O adding weight
O adding texture
O adding a picture

Answers

Answer:

A.) adding color

Explanation:

just did it on edg 2021

Answer:

A. Adding color

Explanation: Just did it and got it right on Edg 2021

What are the 3 P's of Storytelling? (select 3 answers)
Pantomime
Place
Predicament (Problem)
Percentage
People

Answers

I think it would be
People, place, and predicament
Those make the most sense

Match each role to the corresponding web development task.

Answers

Answer:

1. Art director: selecting color palettes.

2. Web project manager: creating budget spreadsheets.

3. Usability lead: researching target audiences.

4. Developer: coding.

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.

The various role performed during the web development process (task) includes;

1. Art director: selecting color palettes. This individual is saddled with the responsibility of choosing the color that best fits a website.

2. Web project manager: creating budget spreadsheets. He or she is responsible for performing tasks such as creating a financial (budget) plan, start and finish date (timing), procurement, etc.

3. Usability lead: researching target audiences. This individual is saddled with the responsibility of surveying and collecting data from the demography for which the website is designed.

4. Developer: coding. This is the technical expert referred to as a web developer and is responsible for writing the set of instructions (codes) that enables the website to work properly and serve a purpose.

A multiuser operating system specifically allows _____.

multiple users concurrently
multiple processes concurrently
only one person at a time
only one process at a time

Answers

Answer:

multiple users concurrently

Explanation:

A multiuser operating system specifically allows multiple users concurrently.

The Healthcare Innovation and Technology Lab would most likely be interested in which of the following app types?

an app to use for budgeting
an app to read books
an app to help people decide on a home insurance policy
an app to send data from an insulin pump to a data collection point

Answers

Answer:

No. 4: An app to send data from an insulin pump to a data collection point.

Explanation:

Healthcare Innovation and Technology Lab would not mainly be focused with budgeting, book reading, and home insurance policies. Answer number 4 includes health and technology.

Select the correct answer. In which item is energy stored in the form of gravitational potential energy? A. a slice of bread B. a compressed spring C. an apple on a tree D. a stretched bow string

Answers

Answer:

C. an apple on a tree

Explanation:

Energy can be defined as the ability (capacity) to do work. The two (2) main types of energy are;

a. Kinetic energy (KE): it is an energy possessed by an object or body due to its motion.

b. Gravitational potential energy (GPE): it is an energy possessed by an object or body due to its position above the earth.

Mathematically, gravitational potential energy is given by the formula;

[tex] G.P.E = mgh[/tex]

Where;

G.P.E represents gravitational potential energy measured in Joules.

m represents the mass of an object.

g represents acceleration due to gravity measured in meters per seconds square.

h represents the height measured in meters.

In an apple on a tree, energy is stored in the form of gravitational potential energy.

What principle of animation helps facial features to be noticed?
A)Arc
B)Exaggeration
C)Solid Drawing
D)Squash and Stretch

Answers

the answer  is Squash and Stretch we use this when animating faces

-scav

What is the primary language used to write web content and is the default format for Outlook messages?

Rich Text Format
Plain Text
HTML
PHP

Answers

Answer:

I think its plain text but I might be wrong

I just played slither.io and got a length of 50632! Can you beat that? http://slither.io



I WANNA SEE YOU BEAT ME ¯\_(ツ)_/¯ if my name is on the leader board it's kirishima​

Answers

Answer:

Nice

Explanation:

Answer:

well yes

Explanation:

can you plz tap the thanks button and rate 5 stars thx

Using the simple alphabet code below, you will decode and encode the message. Write the Full
Message on the line given. Your spaces have been indicated.
1
3
5
6
7
8
9
10
12
13
2
b
4
d
11
k
a
с
e
h
i
m
f
19
j
23
1
25
14
15
16
17
18
20
21
22
24
26
Z
n
O
p
q
r
t
u
V
w
х
у

Answers

Answer:

acefghijlmb2d4k1113589136510waynopqrtuvx2261415161718202122232425

Explanation:

Give five examples of physical networking.

Answers

Answer:

Local area network (LAN), Wide area network (WAN), Metropolitan area network (MAN), Personal area network (PAN), Others

Explanation:

Others can be classified as peer to peer, bluetooth

Write a white paper or PowerPoint presentation demonstrating that you understand the essential elements of a patch
management program. Evaluate at least three patch management software solutions, recommend one, and describe why
you are making this recommendation
Use the list provided in the lesson as your template and search the Internet for information on patch management
concepts and vendor solutions to help create your plan.

Answers

Answer:

When is this due?

Explanation:

I will write it

Need answer ASAP. I’ll mark brainliest if correct

Answers

Answer:

A boy IS-A person.

Explanation:

it sounds more convincing.

please help
match the features with the software
Word Processor, Spreadsheet, Database

- addiction of images, drawings, tables and graphics to text
- centralized data management
- data security
- digital version accounting sheets
- supports multiple users for adding data simultaneously
- visual representation of data
- digital version of a typewriter

Answers

Answer:

word processor- addition of images, drawing tables, and graphics to texts and digital version of a typewriter. spreadsheet- digital version of accounting sheets and visual representation of data. database- centralized data management, data security, and supports multiple users for adding data simultaneously

Just switch the two I got wrong and you'll get the correct answers. :)

HELP PLEASE!
I dowloaded this app and it gave me a virus. DOES ANYONE HAVE ANY IDEA HOW TO DELETE IT? I have an apple laptop and I don't know how. My laptop send me a message telling me a have a virus and this laptop has MANY IMPORTANT FILES. PLEASE HELP ASAP. I'LL GIVE BRAINLIEST. DONT GIVE LINKS OR LEAVE IT BLANK.

Answers

Answer:

It probably is fake. Send me a screenshot. Also, just saying if it asks you to download a app of something, dont do it its just a scam to make you panic.

Explanation:

List three differences between word and excel

Answers

Answer:

Word: A word processor

           File extension is .doc

          Images, texts, and graphic styles can be added

Exel: A spreadsheet software

       Comprises rows and columns which combine to form cells

       File extension is .xls

I hope i helped! xoxo

2. What is the use of the percent sign (6) and underscore in the LIKE clause? How do they differ in
operation and production of a report?​

Answers

Answer:

The percent sign % (or per cent sign in British English) is the symbol used to indicate a percentage, a number or ratio as a fraction of 100.

See also: U+2030 ‰ PER MILLE SIGN; U+2031 ...

Answer:

There are two wildcards used in conjunction with the LIKE operator. The percent sign represents zero, one or multiple characters. The underscore represents a single number or character.

Explanation:

There are two wildcards used in conjunction with the LIKE operator. The percent sign represents zero, one or multiple characters. The underscore represents a single number or character.

Gina is a database user and her supervisor has asked her to generate a report from the structured database. Gina does not know how to write SQL commands and no forms have been created. Which of the following would be her BEST option to generate the report?
A. Direct access
B. Programmatic access
C. Query builder
D. User interface access

Answers

Answer: C. Query builder

Explanation:

Based on the information given in the question, since Gina does not know how to write SQL commands and no forms have been created, the best option to generate the report is a query builder.

With the Query Builder, Gina can be able to search and also select and filter the database objects, while also creating relationships between the objects, and save queries despite not having any SQL knowledge.

When someone asks, Is this information specific enough?, he or she is interested in more _____.
accuracy
logic
breadth
precision

Answers

Answer:

precision

Explanation:

In simple English precise means exact or something specific

I think it would be logic

fortnight on sat 530-10 my name is TTV BTW laggking_12

Answers

Answer: lma o

Explanation:

If u know then u know!!!!
Water bucket, steve, water bucket, map

Answers

I don't know but okay

What is one feature of flexographic printing?
O printing on plastic
O changing images
O raised lettering
O beautiful photographs

Answers

Answer:

A is the answer thank me later

What are some of the functions in the Consolidate dialog box? Check all that apply.

Average
Count
Frequency
Maximum
Minimum
Mode
Sum

Answers

Answer:

sum average and count is the answer

The variable blocks allow you to create variables and use them in a program. Variables can store numbers or strings. Scratch supports both global and object-specific variables.
Question 4 options:

Answers

Answer:

i think is D

Explanation:

if i wrong correct me

and pa brainlies din po k

You are a developer for a news, entertainment, lifestyle, and fashion website. User traffic has steadily increased month-over-month, and you are now tasked with cost optimizing the website. The website is currently served from an EC2 instance that is part of an auto-scaling group behind an elastic load balancer. Your manager and CTO have approved a complete re-structuring of the websites architecture in order to accommodate future growth. How would you optimize your application in the MOST cost-effective way

Answers

Answer: • Move website to a serverless application.

• Using of S3 to host the website.

• Using Lambda and API Gateway in order to support the dynamic API requests.

Explanation:

Based on the information given in the question, in order to optimize the application in the most cost-effective way, one will have to:

Move website to a serverless application.

• Using of S3 to host the website.

• Using Lambda and API Gateway in order to support the dynamic API requests.

Define computer memory and write its type

Answers

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. ... Another way that computer memory can vary is that some types are non-volatile, which means they can store data on a long term basis even when there is no power

Answer:

Computer memory is a generic term for all of the different types of data storage technology that a computer may use, including RAM, ROM, and flash memory. Some types of computer memory are designed to be very fast, meaning that the central processing unit (CPU) can access data stored there very quickly.

Explanation:

You have learned about the uses of the Internet. Perform online research and identify applications of the Internet in at least four different fields, apart from the ones mentioned in the lesson. Write a short report on your findings.

Answers

Answer:

Answer:

Explanation:

Internet is useful in all the sectors and fields of research and business.

a) IT industry

b) Research

c) Efficient logistics

d) Digital marketing

Explanation:

Internet is useful in all the sectors and fields of research and business.

Some of the prominent sectors are

a) IT industry - All the work such as making of website, app, coding, etc. is due to the internet.

b) Research - Students can conduct secondary research online because of the internet and hence their research has now speeded up as compared to the time taken in earlier days

c) Efficient logistics - Be it online shopping, food delivery, parcel delivery etc. every this is driven by internet

d) Marketing on social media platform also known as e marketing is one of the most prominent field of internet application

Name three ways you can collect responses from forms

Answers

email, social media, links
emails,files,links,social media
Other Questions
Which choice is a central idea of scene 1 of Antigone?A) King Creon is all-powerful B) King Creon does not want to rule C) King Creon rule is not secure D) King Creon hate Antigone Light reflects off the medium at a ________ angle to which it initially struck the material. pls fill in the blank for me, I can't seem to find the answer in my lesson. for which value of c will the equation 2x - 5 = 2x - c have an infinite number of solutions? select all that appyA 3b 4C 5D 6 what is 3 forths - 3 eigths PLEASE HELPA ball, 1.8 kg, is attached to the end of a rope and spun in a horizontal circle above a student's head. As the student rotates the ball in a horizontal clockwise circle their lab partner counts 53 rotations in one minute. What is the ball's angular velocity in radians per second? For f(x) = -5x + 4, what is the value of x for which f(x) = 20 The Nazi's persecuted which of the following groups, click all that apply. Qual a importncia da marcar no teatro grego? What does the man mean when he says, "they have places to go to too"? He believes that all living things are important. The narrator has to go to school. He believes that the toads are in a hurry to get dry. The toads must go home with him and the narrator. Provide any three types of financial assistance that can be applied for after Grade 12 to study and briefly discuss them Repetition works best fora. Large, big picture conceptsb. Listsc.Small facts and vocabulary wordsd. The order of eventsPlease select the best answer from the choices provided what is 11 divided by 2872? Winnebagel Corp. currently sells 28,400 motor homes per year at $75,000 each and 7,400 luxury motor coaches per year at $117,000 each. The company wants to introduce a new portable camper to fill out its product line; it hopes to sell 23,400 of these campers per year at $21,000 each. An independent consultant has determined that if the company introduces the new campers, it should boost the sales of its existing motor homes by 3,000 units per year and reduce the sales of its motor coaches by 890 units per year.Required: What is the amount to use as the annual sales figure when evaluating this project? Kayla rolls two fair number cubes each numbered 1 through 6. She needs to roll a sum of 9 or more to win a game. She rolls the number cubes one at a time. She rolls a 5 with the first number cube.What is the probability that Kayla will win the game? OMG HELP PLS IM PANICKING OMG OMG I GOT A F IN MATH AND I ONLY HAVE 1 DAY TO CHANGE MY GRADE BECAUSE TOMORROW IS THE FINAL REPORT CARD RESULTS AND I DONT WANNA FAIL PLS HELP- can someone please help me out on this Need help with this question? Find the Interquartile Range (IQR) of the following set ofdata. (Round to the nearest whole number.)$75, $69, $82, $90, $75, $73, $108, $79, $80 HELP ASAP PLEASE one hundred people were asked about their favorite sport. Part A complete the two-way frequency tablePart B which of the following statements is true This is volume of spheres.Can anyone give me this step by step? Due tonight..