ntent Assessments CommunicationsStudy AidsDesign Tools Time Left:1:31:53 Edward
ID: 3753102 • Letter: N
Question
ntent Assessments CommunicationsStudy AidsDesign Tools Time Left:1:31:53 Edward Cunningham: Attempt 2 Question 13 (1 point) How to correc this error? Rectangie.java:21: ezror: ') expected + "nHeight uniqueRectangle.height (a) Change line 21 to "InHeight:iniqueRectangle.height (b) Change line 21 to nHeight+ iniqueRectangle.height (c) Change line 21 to nHeight*) iniqueRectangle.height (d) Change line 21 to + "InHeight" iniqueRectangle.height al Save Question 14 (1 point) B aved How to correc this error?Explanation / Answer
Answer Option b)
Change line 21 to + " Height " + iniqueRectangle.height
Since you are concatenating a number with string to be output, you should use plus (+) sign to concatenate the string and the number variable.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.