Having problems running - getting errors

Assignment Help JAVA Programming
Reference no: EM131590824

Having problems running, getting errors. Please review the program

C:\Users\Owner\Desktop>javac Loop.java
Loop.java:6: error: class, interface, or enum expected
*
A
Loop.java:10: error: class, interface, or enum expected
public static void main(String args[]) {
A
Loop.java:13: error: class, interface, or enum expected
for (int x : numbers ) {
A
Loop.java:15: error: class, interface, or enum expected
System.out.print(",");
A
Loop.java:16: error: class, interface, or enum expected
}
A
Loop.java:18: error: class, interface, or enum expected
String [] names = {Nisi", "Tee", "AnayaBoo", "Niya", "Mil};
A
Loop.java:20: error: class, interface, or enum expected
for( String name : names ) {
A
Loop.java:22: error: class, interface, or enum expected
}
A
8 errors

Attachment:- Loop.rar

Reference no: EM131590824

Questions Cloud

Create a presentation file using powerpoint : Create a presentation file using PowerPoint and then create a three- to five-minute screencast video of your presentation with pertinent audio.
How will the rapid advancements made in communication : How will the rapid advancements made in communication and technology impact leadership in your professional field?
What the main obstacles to global accounting harmonization : What are the main obstacles to global accounting harmonization? In your opinion, are they likely to be overcome in the near future
Determine fundamental obstacles of business management : Define data analytics in general and provide a brief overview of the evolution of utilizing data analytics in business.
Having problems running - getting errors : Having problems running, getting errors. Please review the program - error: class, interface, or enum expected
Which of the above fallacies is used in each advertisement : Provide two (2) different examples of advertising that show any of the above topics. Which of the above fallacies is used in each advertisement?
Decays into a proton and an electron : A neutron decays into a proton and an electron. Write the decay reactions of a neutron using both nucleons and quarks. You will need to show two reactions.
Calculate the amount of cash that skifurn expects : The company has a selling price of $10 per unit, Calculate the amount of cash that Skifurn expects to collect in February
What was the initial temperature of the pan : A 800 g aluminum pan is removed from the stove and plunged into a sink filled with 13.0 L of water at 19.5°C. The water temperature quickly rises to 24.0°C.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write an application named us insurance

Write an application named UseInsurance that uses an abstract Insurance class and Health and Life subclasses to display different types of insurance policies and the cost per month.

  Constructing a simple flowchart that describes simple logic

Constructing a simple flowchart that describes simple logic flow through a program. Translating the flowchart into pseudo code. Creating a simple module, based on the pseudo code created in step 2, which accepts a parameter and returns a value.

  Java application that calculates the body mass index

Write a Java application that calculates and displays the body mass index (BMI) for N people

  Managing error handling and files

review the concept of Files from your text book. Double-Click on the IDE (Eclipse or Java Beans) on your desktop as directed by your Instructor

  Please write the code in java

Please write the code in java for  Recursion,  Sorting and Searching

  Develop a program to emulate a purchase transaction

Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class

  The goal is to create a project that would let a user

the goal is to create a project that would let a user compute area and perimeter of a polygon. restrict the type of

  Write the method called print triangle type.

Write the method called printTriangleType. This method accepts three integer arguments representing the lengths of the sides of a triangle and prints the type of triangle that these sides form. Here are some sample calls to printTriangleType

  Design the logic for an application

Logic for an application and submit a partially completed Java program -

  Loop structure

Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a loop structure could resolve. Justify your response

  Write a class to represent a credit card.

write a class to represent a credit card.

  Online banking management system - java project

Online Banking Management System Java Project - Identify Technical Advisor by name, contact information, position and responsibility

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd