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
Mademuasel [1]
3 years ago
9

Assume the existence of a Building class with a constructor that accepts two parameters: a reference to an Address object repres

enting the building's address, and an integer for the square footage of the building. Assume a subclass ApartmentBuilding has been defined with a single integer instance variable, totalUnits. Write a constructor for ApartmentBuilding that accepts three parameters: an Address and an integer to be passed up to the Building constructor, and an integer used to initialize the totalUnits instance variable.
Computers and Technology
1 answer:
kolbaska11 [484]3 years ago
8 0

Answer:

public ApartmentBuilding (Address addr, int sqFoo, int totUn) {

  super(addr, sqFoo);

  this. totalUnits = totUn;

}

Explanation:

To pass up parameters from a subclass constructor to a superclass constructor you just need to define a parameter name in the subclass constructor (in this case addr and sqFoo, but it can be anything you like) and then use the keyword super.

The keyword super acts exactly the same as the constructor of the superclass, however that may be defined.

And for the rest of the parameters (E.G. the ones of the sub class) you just treat them as a regular constructor.

You might be interested in
________ was the communication medium of choice for early computer criminals.
vladimir1956 [14]
I would say that morse code would be the answer, but im not sure if that would apply to  computers
5 0
4 years ago
What should the shutter speed be on the camera?<br> A. 1/30<br> B. 1/50<br> C. 1/60<br> D. 1/15
11Alexandr11 [23.1K]

Answer:

C. 1/60

Explanation:

Shutter speed is most commonly measured in fractions of a second, like 1/20 seconds or 1/10 seconds. Some high-end cameras offer shutter speeds as fast as 1/80 seconds. But, shutter speeds can extend to much longer times, generally up to 30 seconds on most cameras.

But in this case C. 1/60 is the answer.

6 0
3 years ago
how risk can impact each of the seven domains of a typical IT infrastructure: User, Workstation, Local Area Network (LAN), Local
juin [17]

Answer and Explanation:

User Domain:

Risk

  • User can destroy the data and delete all User can find checked and use a password to delete all the work User can insert the USB flash and Infected CD.

Work Station Domain:

  • The workstation domain has some software vulnerability that connects remotely and steals data.
  • A workstation can fail because of lost data.

LAN domain

  • A worm can spread and infect the computer.
  • LAN have some known software vulnerability.
  • An unauthorized access of the organization workstation in

LAN WAN domain

  • LAN WAN domain that consists of internet and semi-private lines Service providers have major network problems.
  • Server can receive the DOS File Transfer protocol can allow uploaded illegal software.

LAN/WAN Domain

  • The boundary between the trusted and untrusted zones.
  • Hacker can penetrate the IT infrastructure and gain access.
  • Week ingress and egress filtering performance.
  • A firewall with the ports open can allow access to the internet.

System Storage Domain:

  • A fire can destroy the data DOC can cripple the organization's email.
  • A database server can be attacked by the injection of SQL and corrupting data.

Remote Access Domain

  • Communication circuit outage the connections
  • Remote communication from the office can be unsecured VPN tunneling between the remote computer and router
5 0
3 years ago
Which email etiquette is necessary when composing an email?
krok68 [10]

Answer:

subject, purpose and the recipient details

Explanation:

The email should have a good subject, and that means it should be precise but should convey the purpose and the recipient details. And the detailed report is to be mentioned in the actual body of the email. However, always ensure that the purpose or intent and the recipient details are being mentioned in the subject itself such that the recipient understand in a second the purpose of the email, and also that it meant for him/her.

5 0
4 years ago
In order to avoid slipping in the shop, your footwear should ___________.
dimaraw [331]

Answer:

Be sticky or not slippery

Explanation:

7 0
3 years ago
Read 2 more answers
Other questions:
  • An administrator has noticed that GPO containing new update settings has not yet applied to one of the computers on the network.
    5·1 answer
  • Phase 1 RequirementsCode submitted for Phase 1 will only have the following capability. Any additional coding will result in the
    13·1 answer
  • Which of the following circuits has an equivalent resistance of 30 Ω?
    8·2 answers
  • To improve at keyboarding, it is a good idea to master frequently typed words.
    14·2 answers
  • Enter a character: * ASCII #42 Enter a character: exit Not a character
    7·1 answer
  • Which of these is a way of making applications less vulnerable to hacking?
    7·2 answers
  • Which of the following are examples of software? (Select all that apply)
    9·2 answers
  • Does the colour intesity change of the liquid if you add more baking soda?​
    6·1 answer
  • What is the difference between a computer’s RAM and its hard disk?
    13·2 answers
  • Help me code game plz just comment below for more info
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!