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
saul85 [17]
3 years ago
5

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

ct representing 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:
Maksim231197 [3]3 years ago
5 0

Answer:

class Building { int toatalUnit; Building(Building add, int x) { } } public class ApartmentBuilding extends Building { int toatalUnit; ApartmentBuilding(ApartmentBuilding add, int a, int b) { super(add, b); this.toatalUnit = b; } }

Explanation:

Assume the existence of a Building class with a constructor that accepts two parameters:_________ a reference to an Address object representing 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.

class Building { int toatalUnit; Building(Building add, int x) { } } public class ApartmentBuilding extends Building { int toatalUnit; ApartmentBuilding(ApartmentBuilding add, int a, int b) { super(add, b); this.toatalUnit = b; } }

You might be interested in
In the secure development lifecycle, how must the specific security needs of software being developed be defined?- Coding phase
Karo-lina-s [1.5K]

Answer: Requirements phase

Explanation:Requirement phase in the SDL(secure development life-cycle) is the phase where the security is fused with integrity part for any product. This mechanism is done to know about the requirement of the product in the security field. This is done to achieve the completeness in the product and to recover the mistakes that had happened earlier in the product due to security issues.

Other phase given in the option are for making the code, designing the model of product and testing the products aspects respectively.

4 0
3 years ago
Why is it important that software be compatible with your operating system? What kind of complications may occur if the two are
Svetllana [295]

Answer:

it is important for software to be compatible with your operating system so that you can use the software you acquired. The complications you may encounter if your software is not compatible with your operating system would be error codes, money wasted, and/or possible system changed that you do not want to change since it wouldn't be appropriate for your operating system.

Explanation:

Incompatible software is not something you should use with your operating system.

4 0
3 years ago
What are different social phenomenas are you aware of that used part of a social movement, change, or cause
marin [14]

Answer:

Social change in the broadest sense is any change in social relations. Viewed this way, social change is an ever-present phenomenon in any society.

Explanation:

7 0
2 years ago
Which of the following is NOT a common type of mic:
WINSTONCH [101]

Answer:

Uhh all of them are mics

Explanation:

8 0
3 years ago
Read 2 more answers
How is technology ruining human relationships
Gala2k [10]
Robots are taking our jobs and we cant earn any money for our family
8 0
3 years ago
Read 2 more answers
Other questions:
  • Click to review the online content. Then answer the question(s) below, using complete sentences. Scroll down to view additional
    7·1 answer
  • What is the device that allows users to manipulate data by controlling an onscreen pointer
    5·2 answers
  • How can you tell which of the policies in the security options folder have changed settings?
    10·1 answer
  • Using C#, declare two variables of type string and assign them a value "The "use" of quotations causes difficulties." (without t
    11·1 answer
  • Workstation control standards institute security requirements to harden end user devices. For example, a Malicious Code Protecti
    10·1 answer
  • What do commercial websites use to estimate a visitor's age, gender, and zip code?
    10·1 answer
  • What is a algorithm
    6·1 answer
  • Why each of the six problem-solving steps is important in developing the best solution for a problem
    11·1 answer
  • How would the grain crusher work
    11·2 answers
  • You're a volunteer at a local charity, and you've been asked to create a flyer for a fundraiser. The charity wants to send the f
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!