subject

The following code compiles and runs without error. use the following code to answer the matching questions below:
//
system. out. println("string a: " + "hello".equalsignorecase("hello! "));
system. out. println("string b: " + "bah humbug! ".indexof("bug")); system. out. println("string c: " + "touppercase".;
//
double dblval = 5.678; int intval = 7; system. out. println("expression a: " + 3 * (intval - 1));
system. out. println("expression b: " + intval + (int)dblval); system. out. println("expression c: " + (intval / (int)dblval)); system. out. println("expression d: " + intval % (3 * intval)); system. out. println("expression e: " + (intval > = (int)dblval & & intval % intval == 0)); system. out. println("expression f: " + ((intval % 4 == 1) & & ((int)dblval > (intval * ; system. out. println("expression g: " + ! (intval ! = intval)); system. out. println("expression h: " + (int)(dblval + .5));
//
indicate the output which would be produced by the above code by matching the correct answer to the question. note: not all answers will be used and a given answer maybe used more than once.

string a: string b: string c: expression a: expression b: expression c: expression d: expression e: expression f: expression g: expression h:

a. 25
b. 0
c. 18
d. touppercase
e. touppercase
f. false
g. 1
h. none of the provided answers are correct
i. 7
j. 19
k. 75
l. true
m. 6

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 20:10
Leo is a recruitment executive for a large company. he has identified new labor resource requirements in both the marketing and production departments. what should be his first step in recruiting candidates for the positions? a. conduct background checks of candidates b. make job offers c. arrange interviews d. conduct reference checks e. place job ads on job sites
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Formatting rows and columns is similar to cell formatting. in an openoffice calc spreadsheet, you can format data entered into rows and columns with the of the rows and columns options. you can insert rows and columns into, or delete rows and columns from, a spreadsheet. use the insert or delete rows and columns option on the insert tab. alternatively, select the row or column where you want new rows or columns to appear, right-click, and select insert only row or only column options. you can hide or show rows and columns in a spreadsheet. use the hide or show option on the format tab. for example, to hide a row, first select the row, then choose the insert tab, then select the row option, and then select hide. alternatively, you can select the row or columns, right-click, and select the hide or show option. you can adjust the height of rows and width of columns. select row and then select the height option on the format tab. similarly, select column, then select the width option on the format tab. alternatively, you can hold the mouse on the row and column divider, and drag the double arrow to the position. you can also use the autofit option on the table tab to resize rows and columns.
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Multiple choice project create a program with two multiple choice questions. 1. users have two attempts only, show attempt number each time. hint: while loop with break control. (20%) 2. only one correct answer for each question, use switch case for each question. (20%) 3. show total score after the two questions are answered. hint: . (20%) 4. user have options to answer the two questions again if first attempt score is not 100%. hint: if statment. (20%) 5. use string method .toupper() to allow users to enter with lowercase or uppercase letters. (20%) 1. where is the capital of the state of florida? a. orlando b. tallahassee c. miami d. tampa b 2. where is walt disney world park located in florida? a. orlando b. tallahassee c. miami d. tampa a
Answers: 1
You know the right answer?
The following code compiles and runs without error. use the following code to answer the matching qu...
Questions
question
Spanish, 13.01.2021 01:50
question
Mathematics, 13.01.2021 01:50
question
Mathematics, 13.01.2021 01:50
Questions on the website: 13722367