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
yanalaym [24]
3 years ago
12

Create a parent class called Shape with width and height parameters of type double and a function that returns the area of the s

hape, which simply returns 0. Then define two subclasses, Rectangle, and Triangle, that override the area function to return the actual area (width*height for Rectangle and 1/2*width*height for Triangle).
The code must be in java
Computers and Technology
1 answer:
saul85 [17]3 years ago
4 0

Answer:

umm im not sure tbh

Explanation:

You might be interested in
Online transaction processing (OLTP) and online analytical processing (OLAP) are similar MIS strategies used to help with busine
Stels [109]

OLTP ( On-line Transaction Processing )

As the name suggests, this system is designed for handling transactions on web applications.

Examples include Banking system.

OLAP ( On-line Analytical Processing )

As per the name, this system is developed for analyzing and reporting functions for web applications.

These systems form a part of data warehousing.

Examples include data mining for Banking system.

OLTP databases undergo ETL operations to form a part of OLAP system. Data from several OLTP database are extracted as per the requirements, transformed ( formatted and cleaned ) to fit the OLAP requirements, and loaded into the OLAP system.

Similarities

• Both OLTP and OLAP are designed for online processing and support web based applications.

• In both systems, processing is done on large scale owing to their online presence.

Differences

• OLTP is designed to handle daily operation. OLAP is designed for decision support.

• OLTP supports data update and data insert operations. OLAP supports data analysis.

• OLTP supports insert, update and delete operations only. OLAP supports data extraction to support decision making process.

• Transactions form the source of data. Several OLTPs form the source of data.

• In OLTP, transactions are shorter in nature. In OLAP, transactions are longer.

• In OLTP, processing time is shorter. In OLAP, processing time is longer.

• Data modification queries are simpler. Data analysis queries are complex in nature.

• OLTP are normalized up to third normal form. OLAP are not normalized.

• Data in OLTP system are frequently modified. Data in OLAP systems are not frequently modified.

• OLTP should maintain data integrity. Data integrity in OLAP is unaffected.

• OLTP stores only current data. OLAP stores historical data.

• OLAP systems must have periodic back up. OLTP back up is achieved by reloading the databases.

The major differences are discussed above to clarify the functioning of both the systems.

8 0
3 years ago
IT ethics are rules, policies, or principles that guide the behavior of IT professionals.
Vadim26 [7]

Answer: true

Explanation: true

6 0
3 years ago
What material replaced stone as the primary materials used to make tools and machines by humans
swat32

steel is pretty common, if not metal

4 0
4 years ago
When you insert an object in a document, word always inserts it as a floating object. true or false.?
wolverine [178]
Not always. If you have text wrapping on, it will snap to the text.
3 0
3 years ago
Which subexpression will be solved first in the given statement?
Crazy boy [7]

Answer:

If you dont buy terraria than im going to make mrbeast buy it for you

Explanation:

reeeeeeeeeeeeeeeeeeeee

4 0
4 years ago
Other questions:
  • What symbol following a menu command lets you know that a dialog box will be displayed?
    14·1 answer
  • Which of the following answers refers to a system containing mappings of domain names to various types of data, such as for exam
    6·1 answer
  • Web and mobile applications are created for users to only read information. True False
    15·2 answers
  • The main workplace of a Windows computer is called the
    14·1 answer
  • "In a web app, where is data usually stored? A. Mobile network B. Application storage C. Local computer D. Cloud storage"
    14·1 answer
  • Which of the following jobs usually requires some level of formal higher education other than vocational training?
    14·2 answers
  • <img src="https://tex.z-dn.net/?f=4%2C000%201%20tenth" id="TexFormula1" title="4,000 1 tenth" alt="4,000 1 tenth" align="absmidd
    7·2 answers
  • The type of memory that stores data<br>Currently in used is called​
    8·2 answers
  • 1. List three tabs that make up the Ribbon
    14·1 answer
  • When was the first computer made?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!