Question: How many lines need to be changed to make this method compile? A. Zero B. One C. Two D. Three E. Four F. Five. 1:

How many lines need to be changed to make this method compile? 

1: 2: 3: 4: 5: 6: 7: 8: public void colors() {

A. Zero

B. One

C. Two

D. Three

E. Four

F. Five.

1: 2: 3: 4: 5: 6: 7: 8: public void colors() { var yellow = ""; yellow = null; 9: 10: 11: 12: 13: 14:} var red = null; var blue = ""; blue = 1; var var = var = ""; var pink = 1;

Step by Step Solution

3.33 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 public void colors 2 var yellow 3 yellow null 4 5 var red null 6 7 var blue ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!