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
nydimaria [60]
3 years ago
7

Given the following class import java.util.ArrayList; public class RectangleTester { public static void main(String[ ] args) { A

rrayList shapes = new ArrayList(); shapes.add(new Rectangle(1, 1)); shapes.add(new Rectangle(2, 2)); shapes.add(new Rectangle(3, 3)); shapes.add(new Rectangle(4, 4)); Rectangle dataRecord; for(int index = 0; index < shapes.size(); index++) { dataRecord = shapes.get(index); dataRecord.calcRectArea(); dataRecord.calcRectPerimeter(); } } } Which of the following could not be a constructor for the RectangleClass? I. Rectangle(int s1, int s2) { mySide1 = s1; mySide2 = s2; } II. Rectangle(s1, s2) { mySide1 = s1; mySide2 = s2; } III. Rectangle() { }
Computers and Technology
1 answer:
horrorfan [7]3 years ago
8 0
We didn't need to see all that code to know that answer.


I. Rectangle(int s1, int s2) { }
is a valid constructor

I<span>I. Rectangle(s1, s2) { }
is an invalid constructor, as the data type for s1 and s2 was not specified.

</span>II<span>I. Rectangle() { }
is a valid constructor, as it is simply the default constructor.</span>
You might be interested in
Please help I really need it :(
Arada [10]

Answer:

im sorry dont know

Explanation:

3 0
2 years ago
How many types of window in Qbasic​
kirza4 [7]

Answer:

QBasic consists of two windows: Program Window: The window titled as 'Untitled' is the program window. It is the place where program/code is written. Immediate Window: The window below Program Window titled as 'Immediate' is the immediate window.

5 0
3 years ago
Zoom Vacuum, a family-owned manufacturer of high-end vacuums, has grown exponentially over the last few years. However, the comp
Sati [7]

Answer:

The best advice for Zoom Vacuum is  to start with a Transaction Processing System(TPS). This system will process all the day to day transactions of the system. It is like a real time system where users engage with the TPS and generate, retrieve and update the data. it would be very helpful in lowering the cost of production and at the same time manufacture and produce standard quality products.

Although, TPS alone would not be sufficient enough. so Management Information System(MIS) would be needed, that can get the data from the TPS and process it to get vital information.

This MIS will bring about information regarding the sales and inventory data about the current and well as previous years.

With the combination of TPS as well as MIS is a minimum requirement for a Zoom Vacuum to become successful in the market.

Explanation:

Solution

When we look at the description of the Zoom Vacuum manufacturing company closely, we see that the business is currently a small scale business which is trying to become a small to mid scale business. This claim is supported by the fact that there is only one manufacturing plant and three warehouses. And here, we also need to have the knowledge of the fact that small business major aim is to keep the cost low and satisfy the customers by making good products. So we need to suggest what information system is best suited for small scale business enterprises.

The best recommendation would be to start with a Transaction Processing System(TPS). This system will process all the day to day transactions of the system. It is like a real time system where users interact with the TPS and generate, retrieve and modify the data. This TPS would be very helpful in lowering the cost of production and at the same time manufacture and produce standard quality products . Also TPS can help in communicating with other vendors.

But TPS along would not be sufficient. Also Management Information System(MIS) would be required that can get the data from the TPS and process it to get vital information. This MIS will help in generating information regarding the sales and inventory data about the current and well as previous years. Also MIS can create many types of graphical reports which help in tactical planning of the enterprise.

So a combination of TPS as well as MIS is a minimum requirement for a Zoom Vacuum to become successful in the market.

7 0
3 years ago
MULTI SELECTION
GaryK [48]

Answer:

A. Click on the Print icon at the top of the screen

Explanation:

8 0
2 years ago
Ayúdenme porfa se los agradecería :c
babymother [125]

Answer:

Me podrían ayudar se lo agradecería un montón

5 0
3 years ago
Other questions:
  • Your company is developing a new marketing campaign and wants to know which customers have never placed an order. You will need
    10·1 answer
  • In a typical e-mail address, what is the "host"? A. an account designated by a user name. B. the computer that houses an Interne
    7·1 answer
  • you are concerned with security at your company and want to implement a technology that requires no configuring on the users sid
    15·1 answer
  • What is another term for accountability?
    7·2 answers
  • What is work flexibility?
    15·1 answer
  • Edie wants to visit her university's website. What software application should she use?
    9·2 answers
  • Why is it important to use random assignment when determining which research participants will comprise the different treatment
    12·1 answer
  • Suppose you own a travel agency in a large city. You have many corporate clients, but growth has slowed somewhat Some long-term
    15·1 answer
  • What is another name for a numbered list
    6·1 answer
  • Most effective way of closing email is<br>​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!