Need HELP Java promblem
Question 12
Consider the following code:
double x = -97....
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 03.11.2020 03:20 fortwill05
Need HELP Java promblem
Question 12
Consider the following code:
double x = -97.6;
System. out. println(Math. abs(x));
What is output?
97.6
-96
-97.6
98
-98
Flag this Question
Question 131 pts
Suppose a method has a return type of String, the name myMethod and a parameter list of String s, int i (in that order). Which of the following methods described below has the same signature as this method?
return type: String, name: myMethod, parameter list: double d, int i
return type: double, name: myMethod, parameter list: String s, int i
return type: String, name: myMethod, parameter list: String s
return type: String, name: myMethod, parameter list: int i, String s
return type: String, name: otherMethod, parameter list: String s, int i
Flag this Question
Question 141 pts
What is output by the following code segment?
Integer a = new Integer(12);
Integer b = new Integer(22);
System. out. println(a. compareTo(b));
false
-1
0
1
true
Flag this Question
Question 151 pts
Which of the following describes the return type and parameters of the Scanner method nextLine?
Return type: String. Parameters: none
Return type: void. Parameters: one String parameter
Return type: void. Parameters: none
Return type: String. Parameters: one String parameter
Return type: int. Parameters: multiple String and int parameters
Flag this Question
Question 161 pts
Which of the following correctly gives random numbers between -10 and 10 inclusive?
int n = (int) (Math. random() * 10) - 20;
int n = (int) (Math. random() * 10) - 21;
int n = (int) (Math. random() * 11) - 20;
int n = (int) (Math. random() * 20) - 10;
int n = (int) (Math. random() * 21) - 10;
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:00
Budgets you to do all of the following expect a) send frivolously b) avoid over spending c) gain financial independence d) examine your priorities and goals
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 11:20
William travels a lot on business purpose. he needs to regularly communicate with his business partner. he also needs to send out weekly reports to his boss while he is traveling. which web-based application best suits william’s needs? (social media, webmail, wiki) is the best web-based application for william. he can access this application via the internet using a (digital cable, fax machine, web browser).
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 18:20
The following if statement contains a logic error, not a syntax error. rewrite it so that it is correct. assume the variable age already exists and holds a valid number. if (age == 18 & & age == 19) {
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 02:00
Lisa is making a presentation for her project and she wants to use the logo of her company in her presentation. which element would she use to make her logo stand out in her presentation? a. gradation b. contrast c. alignment d. balance
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
English, 08.10.2019 21:30
![question](/tpl/images/cats/mat.png)
Mathematics, 08.10.2019 21:30
![question](/tpl/images/cats/es.png)
![question](/tpl/images/cats/istoriya.png)
History, 08.10.2019 21:30
![question](/tpl/images/cats/fizika.png)
Physics, 08.10.2019 21:30
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 08.10.2019 21:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 08.10.2019 21:30
![question](/tpl/images/cats/biologiya.png)
Biology, 08.10.2019 21:30
![question](/tpl/images/cats/istoriya.png)