Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Layout References Mailings Review View Help from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable

image text in transcribed
Layout References Mailings Review View Help from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable Editing 17) (10 points) The following program Ooops.java contains 8 errors and will not run. (You need to download the program (Ooops java) from elearn Quizi dropbox, load it to your project in Edipse, and fix the error) Find the 8 errors, write a comment statement describing the error below the "bad" line of code, and fox the error Number the error in the order of your finding with comments For example: (this is an example, the 5th error for this question is NOT this one) You find the 5th error that is missing a "," at the end of statement on line 10, on line 11 type "Il 5. missing at the end of the statement." After fixing all the 8 errors of the program Ooops.java, you should be able to run the program and see the following display X is now 15.2 x and y are 15.2 and 20 I . public class coops public static void main(stringargs) { Lot x; System.out.println("x is" ) int x = 15.2; // need to set x to 15.2 System.out.println(" X is now + X inty: // set y to 5 more than yint x = 5; system.out.println(" x and y are +XInd

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions