subject

What mistake is in the following code? public static double mystery (double a) { system. out. println(a * 3.14); } 1. the method cannot return a double. 2. it should say return true; 3. the parameter should be a boolean type. 4. there should not be a return statement. 5. the double should be changed to void since the method does not return a value.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
Some of the first computer games were created in the early 1970s by college students experimenting after hours to see what the were capable of doing.
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
For her science class, elaine is creating a presentation on weather in the united states. she wants to make the presentation beautiful and interesting by drawing simple cloud or wave shapes. which is the best way for elaine to draw these shapes?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
You know the right answer?
What mistake is in the following code? public static double mystery (double a) { system. out. print...
Questions
question
Mathematics, 05.05.2020 13:52
question
Physics, 05.05.2020 13:52
question
Mathematics, 05.05.2020 13:52
question
Mathematics, 05.05.2020 13:52
Questions on the website: 13722360