1. You are designing a program that will keep track of the boxes in a doctor’s office. Each box will have three attributes: date, contents, and location. Write a class that will consist of box objects.

Answers

Answer 1

Answer:

Public class Box

{

private String myDate;

private String myContents;

private String myLocation;

public class Box(String date, String contents, String location)

{

myDate = date;

myContents = contents;

myLocation = location;

}

}

Hope this is what you're looking for! If not, let me know and I can try to help more. :)

Answer 2

Each box will have three attributes: date, contents, and location. It is class box.

What is class box?

There is a method in the box class of this program. Box is a brand-new data type for the class.

Box is used to declare objects of this type as having double height; Class declaration just generates a template; it does not generate any actual objects. None of the objects of type are affected by this code. Box void volume

Therefore, Each box will have three attributes: date, contents, and location. It is class box.

To learn more about class box, refer to the link:

https://brainly.com/question/14427083

#SPJ2


Related Questions

agree and tell why becoming a priest/nun is an honorable job PLEASE ASAP​

Answers

As a priest or nun you are helping the community of people who you relate to. They do a lot of charity work also so you are making the world a better place. And if your religious you are in a career that helps you grow in your faith.

A computer that provides special services to client computers on demand.

Answers

Answer:

A server?

Explanation:

I feel like this would be the answer but if it is multiple choice, reply with the possible answers. Hope this helps!

What is wrong in this python code import turtle bot = turtle.Turtle step = (50) turnAngle = (90) bot.Color("blue") bot.Begin_fill() bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.Forward(step) bot.Right(turnAngle) bot.End_fill()

Answers

Answer:

The "Turtle" is a method and should be declared with parenthesis and every other method in the code (except the Turtle() ) should begin with lowercase letters like right, forward and begin_fill. The python file should not be saved as turtle.py to avoid import error.

Explanation:

The python turtle module is a graphical programming package created to introduce programming to children. It has several classes and methods to manipulate objects on the screen.

import turtle  

bot = turtle.Turtle()  

step =(50)  

turnAngle =90  

bot.color("blue")  

bot.begin_fill()  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.forward(step)  

bot.right(turnAngle)  

bot.end_fill()

Write a function that takes the name of a file with a .csv extension (a comma-separated value file), and writes a new file that is equivalent (same name and same data) but with a .tsv extension (a tab-separated value file: like a CSV but with tabs instead of commas separating the elements of the file). Note: the character used to represent a tab is ‘\t’.

Answers

Answer:

import pandas as pd

def convert_to_tsv( csv_filename ):

   df = pd.read_csv("csv_file")

   df.to_csv("csv_filename.tsv", sep='\t')

Explanation:

The python program uses the pandas' module to read in the csv file in the function "convert_to_tsv". The file is saved as a tsv file with the pandas to_csv method and the " sep= '\t' " attribute.

Which of the following is an example of gameplay in a video game
A: the art of a game

B: the player interacting with the game world and game mechanics

C: the personalities of all the characters

D:all of the above

Answers

Answer:

the correct answer is B. the player interacting with the game world and game mechanics

Match the interface element with the corresponding examples. You will use the elements more than once.

Question 1 options:

List Boxes


Message Boxes


Accordion


Modal Windows


Search Field


Notifications


Buttons


Checkboxes


Tooltips

1.
Input Controls

2.
Navigational Components

3.
Informational Components

4.
Containers

(place each one of them under the 1.2.3.4 categories)

Answers

Answer:I’m nit sure sorry

Explanation:

..

When and how should resources be invested to close gaps between those who do and don’t use the Internet?

Answers

Answer:

To minimize the technological gap is necessary and not so hard.

Explanation:

The first form of solving it is to minimize the need to use the internet at home, so that users could save the data in some programs which could use afterward if needed, without the internet.

Access to the documents, books, and folders without the need for the internet would be the perfect solution.

The Internet has to be accessible in school so that the students who don’t have it at home could use the most of it in school. Also, the internet connection should be available in the spots around schools, cafes, libraries during the whole day.

Make the internet affordable for everyone.

how many ones dose it take to get 9 tens

Answers

It takes 90 ones to get 9 tens
The answer would be 90:)

Explanation: there are 10 ones in one 10 so if you multiply 10 times 9 it’s 90

Help me pls!!


Look at the following assignment statements:

food1 = "water"
food2 = "melon"

What is the correct way to concatenate the strings?

newFood = word1 == word2
newFood = word1 + word2
newFood = word1 * word2
newFood = word1 - word2

Answers

new food = word1 + word2 will connect both words together with no space in between. The value of newFood will now be "watermelon"

Answer:

new food = word1 + word2

Explanation:

people can use social media responsibly by what​

Answers

Answer:

spread love not hate n password diligent

By limiting their time on social media

Explanation:

When a user modifies the fonts in a message and immediately sees the effect of a font change without actually selecting the font, which outlook feature is the user witnessing

Answers

Answer:

Live Preview

Explanation:

With Live Preview mode on in Microsoft Outlook while composing an email content, a user will be able to see effects of the when the mouse cursor is placed format for the text including, the text size, font of the text, the text color, which are immediately applied to the selected text to give a preview of what the effect of the editing function the cursor is hovering over can do.

why make people act meaner online the. in person ​

Answers

Because they are scared to say something in real life. Behind a screen they are protected

what are some tips to stay focused in school, and to complete work faster? ​

Answers

Answer:

Sometimes listening to music or chewing gum.

Explanation:

When I need to focus, I like listening to music and sucking on a hard candy or chewing gum.

Pls give Brainliest!!

Answer:

What I do to focus in school is to try and ignore everything that is going on around you. ( what your classmates are doing ) Drown out the noise with music if your allowed to listen to music. Ask the teacher is you can go somewhere quieter

Explanation:

Hope this helps, Have a Wonderful Day!!

Read this passage from The Phantom Tollbooth. There was once a boy named Milo who didn't know what to do with himself--not just sometimes, but always. When he was in school he longed to be out, and when he was out he longed to be in. On the way he thought about coming home, and coming home he thought about going. Wherever he was he wished he were somewhere else, and when he got there he wondered why he'd bothered. Nothing really interested him--least of all the things that should have. The most likely reason the author begins this fantasy with a realistic element is to make the text more amusing. exciting. believable. interesting.

Answers

Answer:

I think its believable

Explanation:

^^

I think its believable

Microsoft Word, Google Chrome, and Windows Media Player are examples of

Answers

Answer:

They are all examples of software.

you are working on creating a business document with two other co-workers. Based on just information, which of the following pre-writing strategies would be the best for you?(A.P.E.X.)

Answers

Brainstorming, Rationalizing, and Rough Drafts.

What are three print output options available in PowerPoint?
A. Handouts, Slides, Speaker Notes
B. Outline, Kiosk, Overheads
C. Overheads, Handouts, Slides
D. Kiosk, Handouts, Computer

Answers

Answer: .A

Explanation: i got it right

Answer:

'A' on edge 2020

Explanation:

Just took the test

What are the steps to customize a slide show?

Go to Slide Show tab, select Hide Slide, select the slides to hide, and save.
Go to Slide Show tab, select Set Up Slide Show, select show type Custom, and save.
Go to Slide Show tab, select Custom Slide Show, select slides to be shown, and save.
Go to Slide Show tab, select Custom Slide Show, select Record Slide Show, and save.

Answers

Answer: Third one

Explanation: I got it right

Answer:

Third one

Explanation:

The ideal hash function:

A. Should be unfeasible to find two inputs that map to the same output
B. Should be unfeasible to learn anything about the input from the output
C. Basically we don’t want people to figure out what was said
D. All the above

Answers

I believe the answer is A
Hope this helps

The part of the program where strFirst can be used or changed describes its _____.

need answers now!

Answers

Answer:

def username (strFirst, strLast):

return strFirst[0] + strLast

def username (strFirst, strLast):

return strFirst + strLast[0]

answer = username ('Tech', 'Boss')

print (answer)

Explanation:

Can you rate the answer with Braillies? please.

if you need any further assistance please follow me and stay in touch anytime. ☺️

Answer:

scope

Explanation:

the Edge definition of scope as found in the instructions is: "Scope refers to the part of the program where Python can use and change a variable. "

The question is: "The part of the program where strFirst can be used or changed describes its _____. "

strFirst is a scope because it is the part of the program where..can...use and/or change.

Which of the following would be done outside of a control room?


programming a teleprompter

cueing camera operators

switching between multiple cameras

uploading camera footage on location

Answers

Answer:

a

Explanation:

Answer:

a

Explanation:

4.8 Code Practice: Question 1
Instructions
Write a for loop to print the numbers 5, 10, 15 … 75 on one line.

Expected Output
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75

Answers

I included my code in the picture below. Best of luck.

Loops are used to perform repetitive operations.

The for loop in Python is as follows:

for i in range(5,76,5):

   print(i,end =" ")

The syntax used for the range in for loop is: (start,end+1,increment)

The start represents the first value to be printed.

So: start = 5

The end represents the last value to be printed.

So: end = 75

Because the end value will not be inclusive, the value is incremented  by 1

The increment is 5

Read more about similar programs at:

https://brainly.com/question/21298406

• Describe why you may have traveled to the same place many times. Why would this happen in nature?

Answers

I have traveled to the same place many times because I enjoy going there and I am very familiar with it. So in nature many animals will continue to go to the same place because of the same reasons they might know there is a supply of food there or that there is water.

Justify the following statement: “Some Americans’ sedentary lifestyles contribute to their poor health.”

Answers

It is essential that people are active in their lives to fulfill that basic biological need. This will allow blood flow to increase, which is beneficial for health. In addition, it can release healthy chemicals into the brain, which is beneficial for mood, energy, and well-being.

Answer:

Since the average American will spend 24 hours watching television per week, it is safe to say that they suffer from a lack of movement and exercise. This, in turn, will lead more Americans to be overweight and more likely to suffer from serious health problems! :)

Explanation:

look at the picture lol

Answers

Answer:

Zoom in more please and than i can help

Explanation:

Answer:

I would go with the first blue highlighted one... but i could be wrong

i hope i helped

if i didn't... i am sorry, i tried.

Explain two options you have in order to abide by the move over law??? PLEASE HELP ME ASAP!! ​

Answers

Answer:

you can either move over if on an interstate into a different lane safely. if there is only one lane you must reduce your speed

Which line is most likely an error? A-“hello” B-hello C-“100” D-100

Answers

Answer: I think it is c

Explanation:

The error is most likely C. Hello quoted is proper. ("Hello") Eliminate A. Hello is proper as well so eliminate B. Now, we are at C. I Believe this is the answer since it is 100 quoted ("100"). 100 quoted does not make since unless used in a sentence such as "I bought 100 apples today for a good price!" D cannot be the answer since it is 100 all by itself. Thus, your answer should most likely be C, "100".

Which command is located in the Action Settings dialog box that allows a user to set a linked or embedded object as a trigger to perform an action?

Object action
Hyperlink to
Run action
Highlight click

Answers

Answer:

Object action was the answer.

Explanation:

Answer:

Object action is the answer

Explanation:

I got it right on the unit review

Choose all items that represent essential features of excellent navigation menu design.

uses clearly and simply labeled links

is consistently styled and located

contains a link to a site map

is intuitive and easy to use is available on all pages

in the site employs a drop-down list​

Answers

Answer:

A,B,D,E

Explanation:

Answer:

A- uses clearly and simply labeled links

B- is consistently styled and located

D- is intuitive and easy to use

E- is available on all pages in the site

Documentary photographers strive to produce what type of image?
А.
Edited
B.
True
C.
Colorful
D.
Blurred

Answers

I’m pretty sure that the answer is B

Answer:

B. :)

Explanation:

Other Questions
In what part of the United States is the high pressure center located? Saba and Hena saved up Rs. 81.75 and Rs 45.25 respectively to buy a gift forMothers Day. How much money in all have the sisters set aside for the gift? What is the monthly share of their annual expenses?FIRST ANSWER WILL GET BRAINLIEST Elsie has two bags, each containing x counters. Write an expression for the total number of counters Elsie has. This connects to my other questions and the data chart is there to the forelimb similarities one A diving board is 12.4 feet above the ground. The bottom of the pool is 16.9 feet below the ground. Write and solve an equation that gives the distance from the diving board to the bottom of the pool. Informatics includes all support staff at a hospital. A. True B. False ILL GIVE BRAINLIEST TO WHOEVER ANSWERS FIRST Paul's Pumpkin Patch advertises four pumpkins for $10.50. Which equation below represents this proportional relationship? ok actual question i have to write a three paragraph paper on ceaser lambroso. Who is he? what was he know for? when was he born and died? I WILL MARK BRAINLIST The context of a word isA the definition of the word.B the circumstances in which the word is used.C the language the word comes from.D the readers prior knowledge about the word. which of the following would you expect to have the highest interest? a 5-year CD a 10-year CD and online savings account or savings account at a Traditional Bank Find the perimeter. Simplify your answer.6-4bb6-4 Salmon often jump waterfalls to reach their breeding grounds. Starting downstream, 3.04 m away from a waterfall 0.585 m in height, at what minimum speed must a salmon jumping at an angle of 41.7 leave the water to continue upstream? The acceleration due to gravity is 9.81 m/s 2 . Answer in units of m/s. what is 1+1=I give brainliest lol Which ship did not respond to the Titanic's distress call "CQD"?Question 3 options:OlympiaCalifornianCarpathiaMt. Temple my bros if 1+1 was to = 3 would 2+2=5? Help i give brainliestWhich statements accurately describe how to determine the y-intercept and the slope from the graph below?On a coordinate plane, a line goes through points (0, negative 6) and (3, 0).To find the y-intercept, begin at the origin and move horizontally to the graphed line. To find the slope, use two ordered pairs on the line and substitute into the equation m = StartFraction y 2 minus y 1 Over x 2 minus x 1 EndFraction.To find the y-intercept, begin at the origin and move horizontally to the graphed line. To find the slope, use two ordered pairs on the line and substitute into the equation m = StartFraction x 2 minus x 1 Over y 2 minus y 1 EndFraction.To find the y-intercept, begin at the origin and move vertically to the graphed line. To find the slope, use two ordered pairs on the line and substitute into the equation m = StartFraction y 2 minus y 1 Over x 2 minus x 1 EndFraction.To find the y-intercept, begin at the origin and move vertically to the graphed line. To find the slope, use two ordered pairs on the line and substitute into the equation m = StartFraction x 2 minus x 1 Over y 2 minus y 1 EndFraction. Arrange the four numbers to form a proportion that is true. 40, 50, 80, 64. Which graph represents y as a function of x