Question: Moving to the next question prevents changes to this answer. Question 2 Question 2 1 points Please select all valid statments (syntax and logic )
Moving to the next question prevents changes to this answer. Question 2 Question 2 1 points Please select all valid statments (syntax and logic ) about 'String variables' in java: a. String hobby1 = " " // this line has deleted the value of hobby, b. String can be initilized with more than one word as: String hobby = "reading, walking and multiple hobbies": // doesn't need to be declared in a line before the assignment c. System.out.printin("51= " + hobby.substring(9.15+1); // the output will be walking D d. String talent = new string : talent=Drawing Moving to the next question prevents changes to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
