Please help in Java!! Due tonight!!! Greatly appreciated!!

Please Help In Java!! Due Tonight!!! Greatly Appreciated!!

Answers

Answer 1

Answer:

d. Mystery2

Explanation:

static methods can be called without an object instance.

The getDouble() method uses ints, so pass in an int.


Related Questions

HELLLLLLLLLLLLLLLLLLLLP PLSSSSSSSSSSS HELLLLLLLLLP
Which of the following is an example of a Boolean Operator?
A. HTML
B. SEO
C.
D. BUT

c is
TITLE

Answers

Answer:

HTML?

Explanation:

That looks like the best answer, correct me if I'm wrong ^^U

in which genre of games do players most often have the power to shape how the story will end?

platformer games
shooter games
role-playing games
puzzle games

Answers

Role playgames are the most customizable

Answer:

role-playing games

Explanation:

Which of the following types of copyright license is most appropriate if you create a graphic and would like to share it with anyone for any purpose as long as you receive credit?
A. All Rights Reserved
B. Public Domain
C. Some Rights Reserved: Attribution
D. Some Rights Reserved: Share Alike

Can someone help me out with this? Thanks!

Answers

Answer:

C is the correct answer:)

Explanation:

The most appropriate type of copyright license for the described scenario would be Some Rights Reserved: Attribution. The correct option is C.

What is copyright license?

A copyright license is a legal agreement between the copyright holder and someone who wants to use the copyrighted material.

This licence allows others to use and distribute the graphic as long as the original creator is credited. It is a type of Creative Commons licence in which some rights are granted to others while others are reserved for the original creator.

This option is ideal if you want to share your work with others while maintaining control and receiving credit for it.

Option B, Public Domain, allows anyone to use the graphic for any purpose without attribution, whereas Option D, Some Rights Reserved: Share Alike, requires others to share derivative works under the same licence terms.

Option A, All Rights Reserved, would prohibit others from using the graphic without the creator's explicit permission.

Thus, the correct option is C.

For more details regarding copyright license, visit:

https://brainly.com/question/30696317

#SPJ2

7.
A videographer wants a fast computer to use to edit video files. What does this customer need to
consider when selecting RAM?

Answers

Answer:

16GB RAM

Explanation:

Which step in the software development life cycle involves making improvements based on user feedback?
Coding
Design
Maintenance
Testing

Answers

Answer:

The step is Testing oki doki

Answer:

Maintenance

Explanation:

Maintenance

This primarily involves updating and making improvements based on user feedback, as well as resolving any defects that are found.

Carmina works at a fast-food restaurant. During the slow afternoon hours, Carmina always find projects to keep her busy, like washing all the trays or deep-cleaning the drive-thru area. What workplace habit does Carmina show by doing this?

Answers

Answer:

This shows that Carmina knows how to manage her time, also called time management, and she took the initiative to do the jobs, even though she didn't have to.

true false.
(c) In Animate, only one layer
can be activated at a time. ( )
PLZ HELP ME IN MY STUDY​

Answers

Answer: true

Explanation:

Ans: Answer is true...

CAN SOMEONE PLEASE HELP ME WITH THIS PLEASE ?!!!!!!!!

Answers

Get feedback about your product from the restaurant

Formula for adding values of cells A9 to A15 is
Please answer fast

Answers

Answer:

This is my opinion. ^_^

You need to sum a column or row of numbers, let Excel do the math for you. Select a cell next to the numbers you want to sum, click AutoSum on the Home tab, press Enter, and you're done. When you click AutoSum, Excel automatically enters a formula (that uses the SUM function) to sum the numbers.

The formula to add the values of the cell A9 to A15 is =SUM(A9:A15)

What is a cell in excel?

Cells are the boxes that appear in the grid of an Excel worksheet such as this one. On a worksheet, each cell is identified by its reference, the column letter and row number that intersect at the cell's location.

This cell is in column D and row 5, so it is designated as cell D5. In a cell reference, the column always comes first.

The formula combines values from 9 to 15 columns or rows.

The Sum keyword is used to add any number of values together and calculate their total.

The ":" symbol indicates the range that must be added together. Another method of adding is to simply select the values to be added and then select auto sum- then sum.

Thus, =SUM(A9:A15) is the formula for adding values of cells A9 to A15.

For more details regarding excel, visit:

https://brainly.com/question/3441128

#SPJ6

What's a checked exception?

A
One that the Java class library already checks for, so our programs don't have to worry about checked exceptions.

B
One that the program must check because the compiler can't check it.

C
One that the compiler can check to make sure the program handles it.

D
One that the operating system checks, evaluates, and corrects.

Answers

Answer:

The answer is option A "One that the Java class library already checks for, so our programs don't have to worry about checked exceptions"

Explanation:

A checked exception is a sort of special case that should be either gotten or proclaimed in the method in which it is declared.

In the Java class chain of importance, a special case is a checked exception in the event that it acquires from java.lang.Throwable, however not from java.lang.RuntimeException or java.lang.Error. All the application or business rationale exceptions should be checked special cases.

It is conceivable that a strategy proclaims that it can toss a special case, however it doesn't. In any case, the guest needs to manage it. The checked exception announcement has a domino impact. Any strategies that will utilize the past strategy will likewise need to deal with the checked exception, etc.

So the compiler for the Java programming language checks, at gather time, that a program contains overseers for all application exceptions, by examining every method body. In the event that, by executing the method body, an exception can be tossed to the guest, that special case should be announced. How does the compiler know whether a method body can toss an exception? That is simple. Inside the method body, there are calls to different strategies; the compiler takes a gander at every one of their strategy signature, what exceptions they proclaimed to declare.

Answer:

The correct answer is C)

Explanation:

Within Java, a checked exception is one that is checked by the compiler.

When a code within a method generates a checked exception, one of two things must happen:

a) the method should take care of the exception or

b) it should indicate the exception using throws keyword.

Cheers

Which is an example of emoticon use?
A. Putting text in capital letters
O B. Including a smiley face in a text
C. Adding "xo" to show a hug and kiss
D. Creating an acronym for a phrase

Answers

I think it’d be answer B
(I do psychology and it’s kind of similar to this)

What steps will change an existing macro? Use the drop-down menu to complete the steps.
1. Go to the
tab on the ribbon.
2. In the Macros group, click
3. Click
, which will open the VBA editor.
4. Find and change the code and Save and Close.

Answers

Answer:

1. View

2. View macros

3. Edit

Explanation: completed on edge

The table button is present in the ……… tab.​

Answers

Answer:

Insert

Explanation:

The table button is present in the Insert tab.​

Refer to screenshot (MS Word)

Insert → Table → Insert Table or Draw Table

Does magnetic tape require a laser to read data?

Answers

Answer:

No the magnetic tape requires a tape drive mechanism

Explanation:

The data in magnetic tape consists of information that has been digitized into discrete numbers by means of of a recording device which can also be able to read the recorded data on the tapes

As the magnetized tape passes under a current carrying conductor, the data on the magnetized surface can be sensed

Due to the arrangement of the magnetic tapes in their stored format, the process of retrieving information makes use of serial access such that information retrieval is slow.

want some points you get some also stay away from people

Answers

Answer:

lol

Explanation:

thank YOUUUUUUUuuuuuuu

What would be some reasons to change the default page
encoding?

Answers

Answer:

Synchronization with the document for one reason or another

As you calculate the design cost for a site, you conclude it will be $50 per hour. However, your final estimate to the client will be for $55 per hour to include which cost (without including the cost as a line item)?

Answers

Incomplete question. I answered from a general budget perspective.

Answer:

miscellaneous cost

Explanation:

Remember, we are told this is just an estimated cost of designing the site. Basically in designing a site, these costs are taken into account:

site hosting costsite design cost (such as UX, UI, etc)site development costsite maintenance cost (such as domain maintenance cost)

However, it seems the web developer may have discovered other miscellaneous costs attached to the site design.

Users on your network report that they have received an email stating that the company has just launched a new website. The email asks employees to click the website link in the email and log in using their username and password. No one in your company has sent this email. What type of attack is this

Answers

Answer:

Phishing

Explanation:

A phishing attack may be defined as a attack made on social platform that is used to steal the data, which includes the credit card details or credentials of individuals, etc. It is a fraudulent attempt to collect important information.

In the context, the employees receives an email asking them to click on the link and login using their credentials. It is a fraud email which no one in the company has sent. So this is a phishing attack.

explain Text align , Text Decoration, colour, Text shadow..​

Answers

Answer:

Text align, text decoration and text shadow are all some of the important features in CSS.

Explanation:

CSS is a programming language. It stands for Cascading Style Sheets. It is the style sheet language that is used for describing a presentation of any document that is basically written in HTML.

Text Align : This property allows the horizontal alignment of a text in an element. A text can be right align, left align, justified or centered.

Text Decoration : The text decoration features in CSS helps to set or helps to remove the decorations from the text. These are drawn across the descendant text elements.

Text shadow : This property simply allow us to add or put a shadow to the text.

rebecca smith was the top scorer in a women’s professional basketball league

Answers

Answer:

awesome

Explanation:

Nadia has inserted an image into a Word document and now would like to resize the image to fit the document better.

What is the quickest way to do this?

keyboard shortcut
sizing handles
context menu
sizing dialog box

Answers

Sizing handles but I’m not super sure

write sql commands to the following:-
1. display the average price of each type of vehicle having quantity more that 20.
2. count the type of vehicle manufactured by each company
3. display the total price of all the types of vehicles

plssss answerrr...​

Answers

Answer:

I can't seem to add SQL to the answer, so let's try this:

For the first one, you need to build a select that uses the avg function on the price column.

For the second one, you need to use the count function.  Select that and the company, and group by company.

For the third, it's slightly unclear.  Do they mean to mean to display the total price of all vehicles or the total price of each type of vehicle.  The former would just be done by selecting a sum of the price.  The latter by selecting that and the type column, grouping by type.  I'm not sure if type is a keyword, so you might need backtick quotes wrapped around it.

See below for the SQL command of each category

How to write the SQL commands?

To do this, we make use of the following clauses:

SELECTAVERAGEWHERECOUNT

Using the above highlight, we have:

Average price of each vehicle having quantity more than 20.

The table name is given as: Vehicles

To display the average, we use the following query:

SELECT

Type, avg(Price)

FROM Vehicle

GROUP BY Type

HAVING QTY >20;

Count type of vehicle by each company

To count each type of vehicle, we use the following query:

SELECT

company, COUNT(DISINCT Type)

FROM VEHICLE

GROUP BY Company;

Display the total price of all

The total price is calculated using:

Total = Price * Quantity

So, we have the following query:

SELECT

Type, SUM(Price* Qty)

FROM VEHICLE

GROUP BY Type;

Read more about SQL at:

https://brainly.com/question/25694408

#SPJ2

how please help me computer​

Answers

Answer:

Whaaaaaaaaaaatttttttttttttttt the

Explanation:

Why can videos be streamed from the cloud to a computer with no loss in
quality?
A. Digital signals are used to transmit data to and from the cloud.
B. The cloud is closer to the computer than the source of analog
signals is.
C. The signals to and from the cloud alternate between analog and
digital signals.
D. They are transmitted using digital signals and received using
analog signals.

Answers

I think the answer is B

Videos can be streamed from the cloud to a computer with no loss in quality because Digital signals are used to transmit data to and from the cloud.

What are Digital signals?

A digital signal is  known to be a kind of  signal that is set up or is one that stands for data as a step made up of discrete values.

Note that Videos are said to be  streamed from the cloud to a computer with no loss in quality because Digital signals are employed for the sending of data to and from the cloud.

Learn more about Digital signals from

https://brainly.com/question/6608415

#SPJ2

This question involves a simulation of a two-player game. In the game, two simulated players each start out with an equal number of coins. In each round, each player chooses to spend either 1, 2, or 3 coins. Coins are then awarded to each player according to the following rules.

Same rule: If both players spend the same number of coins, player 2 gains 1 coin.
Off-by-one rule: If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 1, player 2 is awarded 1 coin.
Off-by-two rule: If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 2, player 1 is awarded 2 coins.

The game ends when the specified number of rounds have been played or when a player’s coin count is less than 3 at the end of a round.

The CoinGame class is shown below. You will write two methods in the CoinGame class.

public class CoinGame

{

private int startingCoins; // starting number of coins

private int maxRounds; // maximum number of rounds played



public CoinGame(int s, int r)

{

startingCoins = s;

maxRounds = r;

}



/** Returns the number of coins (1, 2, or 3) that player 1 will spend.

*/

public int getPlayer1Move()

{

/* implementation not shown. */

}



/** Returns the number of coins (1, 2, or 3) that player 2 will spend, as described in part (a).

*/

public int getPlayer2Move(int round)

{

/* to be implemented in part (a) */

}



/** Plays a simulated game between two players, as described in part (b).

*/

public void playGame()

{

/* to be implemented in part (b) */

}

}

In the simulation, player 2 will always play according to the same strategy. The number of coins player 2 spends is based on what round it is, as described below.

(a) You will write method getPlayer2Move, which returns the number of coins that player 2 will spend in a given round of the game. In the first round of the game, the parameter round has the value 1, in the second round of the game, it has the value 2, and so on. The method returns 1, 2, or 3 based on the following rules.

If round is divisible by 3, then return 3.
If round is not divisible by 3 but is divisible by 2, then return 2.
If round is not divisible by 3 and is not divisible by 2, then return 1.
Complete method getPlayer2Move below by assigning the correct value to result to be returned.

/** Returns the number of coins (1, 2, or 3) that player 2 will spend, as described in part (a).

*/

public int getPlayer2Move(int round)

{

int result;

return result;

}

Write the method playGame, which simulates a game between player 1 and player 2, based on the rules and example shown at the beginning of the question. Both player 1 and player 2 start the game with startingCoins coins. Computer player 1 spends 1, 2, or 3 coins based on the value returned by the method getPlayer1Move(). Computer player 2 spends 1, 2, or 3 coins based on the value returned by the method getPlayer2Move().

The game ends when maxRounds rounds have been played or when a player’s coin count is less than 3 at the end of a round.

At the end of the game, the winner is determined according to the following rules.

If both players have the same number of coins at the end of the game, the method prints "tie game".
If player 1 has more coins than player 2, the method prints "player 1 wins".
If player 2 has more coins than player 1, the method prints "player 2 wins".
(b) Assume that getPlayer2Move works as specified, regardless of what you wrote in part (a) . You must use getPlayer1Move and getPlayer2Move appropriately to receive full credit.

Complete method playGame below.

/** Plays a simulated game between two players, as described in part (b).

*/

public void playGame()

Answers

[A] Let's simplify the getPlayer2Move rules first.

If round is divisible by 3, then return 3

if a number is divisible by another number that means the remainder of the division is 0. We can write the code as follows:

if (round%3 == 0)

result = 3;

If round is not divisible by 3 but is divisible by 2, then return 2.

Same as the previous one, we are going to use the remainder operation. We can use an else-if condition here.

else if (round%2 == 0)

result = 2;

If round is not divisible by 3 and is not divisible by 2, then return 1.

An else would work fine here.

else

result = 1;

The full code of part A is attached below.

[B]

playGame method:

Let's have a quick look at the game rules first:

If both players spend the same number of coins, player 2 gains 1 coin.

This can be translated to if player1Spending == player2Spending, then player2 gets a coin.

If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 1, player 2 is awarded 1 coin.

If the absolute value of (player1Spending - player2Spending == 1) then player2 gets awarded.

If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 2, player 1 is awarded 2 coins.

We can either use an else statement or a separate conditional statement here, but I'll go for the else statement.

We can use a while loop to detect when the game ends, either a player's coins is less than 3 OR when the maxRounds have been played.

hich type of denial of service (DoS) attack occurs when a name server receives malicious or misleading data that incorrectly maps host names and IP addresses

Answers

Answer:

DNS poisoning

Explanation:

This type of attack is known as DNS poisoning it is a very common attack that focuses on trying to redirect users of the site that has been attacked towards fake servers. These fake servers belong to the attackers and are used to collect the user's private data, which can then be used by the attackers for a wide range of malicious acts. Aside from stealing user information, this malicious data travels alongside regular user data allowing it to infect various servers easily.

PLEASE HURRY!!!
Wyatt has a database to keep track of an enormous collection of videos. How can Wyatt find the record for the game Lost on Mars?
a)sort the data
b)filter the data
c)query the data
d)edit the data

Answers

Answer:

Wyatt could sort the data by month

Explanation:

Write a simple algorithm in pseudocode that asks the user their favourite colour and then agrees with their choice, quoting the colour in the response.

Answers

Answer:

i am still a beginner in this but i hope it helps.

add scanner object;declare string FavColour;print msg to ask user for inputscan input FavColour;print msg (" your favourite colour is " + FavColour)

Write a function that prompts the user to enter the speed of a vehicle. If speed is less than 20, display too slow; if speed is greater than 80, display too fast; otherwise, display just right

Answers

The code of the given problem is given below :

#include<iostream>

using namespace std;

void print( float speed ){

      if(speed < 20 )

      {

             cout<<"too slow\n";

      }

      else if(speed > 80 )

      {

             cout<<"too fast\n";

      }

      else{

             cout<<"right\n";

      }

}

int main()

{

      print( 18.6 );

      print( 45 );

      print( 100 );

      return 0;

}

Fill in the blank with the correct response.
_______surveys are measurement tools that use a series of questions to obtain data from respondents.

Answers

Answer:

"Questionnaire" would be the perfect approach.

Explanation:

A questionnaire would be a study tool consisting of a series of issues and perhaps other forms of commands which have been intended to gather data from the respondents.  This is indeed a valuable instrument used to collect responses from participants throughout a broad range of ways, consumer insight, and purchasing habits across marketing strategy.
Other Questions
Help fast please!!! 6x + 4 = 2x - 12 Newton determined that the attractive force between two masses was DIRECTLY proportional to: Electricity, Force, Energy, Motion, and Light are concepts investigated in the study of ____. What are rotating air currents circulating around a vertical axis inside a supercell? PLZ HELPI DON'T UNDERSTAND THIS ONE.Sylvia runs a company that produces clothing accessorieshats, patches, scarves, etc.for events such as a Presidential inauguration. To produce each item costs her $1. She also pays an initial startup cost for production of $100, regardless of the number of products that she produces. She plans to sell each product for $5. How much money would the cost be to produce fifty products? What is Sylvias income if she sells fifty products? Which phrase is a noun phrase? SwimmingThe boisterous noiseWere gossiping behind her backRepeatedly sawed at the tree trunk can someone please help!? A jar contains 444 red marbles, 444 green marbles, and 555 blue marbles.If we choose a marble, then another marble without putting the first one back in the jar, what is the probability that the first marble will be blue and the second will be green? what is 4/5divied by 1/3 Choisissez tous les adjectifs en franais qui prcdent nom. nouveau grand amusant naif Look at this image of a star cluster.Which type of star cluster is shown?A .openb .binaryc .globularb .eclipsing Guys I need help!!! So I have to put this words in the correct order: bring/the/medicine/will/Scientists/big/hope/future/advances/in Explain the difference between a high tide and a low tide. Find x =Please help Ill give brainiest answer This is to you! you are a brilliant and sweet person. you are loved by many. if you send this out to 15 people in the next hour you will have the best of luck for a year. if you send it to 30 people in the next year than your crush will ask you out soon. Don't break the chain or you will have 7 years of bad luck. go! A: Love B:Because your bored C: Sad D:Mad Don't judge people for their beliefs. I'm watching... Thank you for listening. Take care, and NEVER GIVE UP! Hola, Luis. Yo 1. a la clase de ciencias enquince minutos. Es una clase interesante, pero esdifcil. A las doce y media mis amigos y yo 2.a la cafetera. Despus Ins 3. al gimnasio yJernimo 4. a la oficina del director. A las cincoellos 5. a la biblioteca para estudiar. Adnde 6. t despus de las clases?Fill in the numbers pleasee PLEASE HELP ME!!!!How do you think Native Americans reacted to the Lewis and Clark expedition when they first saw it? Complete the conversation by choosing the phrase that indicates that Benoit's bicycle is the cheaLa: Ma bicyclette cote trois cents euros.Alexandre: Ma bicyclette cote deux cents euros.Benot. Ma bicyclette estElle cote cent cinquante euros.OA.moins chre que ta bicyclute.la moins chre que ta bicyclette.OB.O C.moins chre que toutes.OD.la moins chre de toutes.ResetNext What number is the opposite of -(-15)? The Kentucky Derby is one of the most exciting horse races run every year. In 1973, the horse Secretariat set a record that still stands. This 500-kg horse ran the 2000-m track in 120 s. What was Secretariat's average kinetic energy? (1 kJ = 1000 J)