1. which of the following statements contains an error?
i. scanner in = new scanner(sy...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 02.11.2019 23:31 salvadorjazmin75
1. which of the following statements contains an error?
i. scanner in = new scanner(system. in. print);
ii. system. out. print(" enter your name (first last): ");
iii. string firstname = in. next();
i only
ii only
iii only
i and ii only
ii and iii only
2. which of the following statements contains an error?
i. string firstname = in. next();
ii. string lastname = in. nextline();
iii. system. out. print("\n");
i only
ii only
iii only
i and ii only
ii and iii only
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:20, ChaosMind
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:00, bskyeb14579
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30, cireland
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits. now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order. finally, output thedigits in thearray. use at least two functions to organize your program.
Answers: 3
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 14.10.2019 00:00
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/health.png)
Health, 14.10.2019 00:00
![Konu](/tpl/images/cats/en.png)
English, 14.10.2019 00:00
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 14.10.2019 00:00