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

  An infix to postfix method for my java program.

an infixToPostFix method for my java program. The method must work with stacks and it should take a string as parameter. The method should be able to convert to postfix mathematic expressions such as: (12 + 4) - 23(9-6)/12. Treat the parenthesis as l..

  Write a function which takes two string variables

Write a function which takes two string variables not C strings as inputs and compares them. If they are equal, the function should return 0. If the first-string is less than the second string, return a negative number. If the first string is grea..

  Build application and activate the camera for android mobile

The proposed idea build application and activate the camera for android mobile and take picture and put animation on someone face

  Find a java application on the web and describe it

What functionality does the application have that you have learned about in this class?

  Write a computer program that prompts the user for a number

Write a computer program that prompts the user for a number, creates an array for that number of random integers, and then uses the sophisticated form of bubble sort to order the array

  A class for counting the number of people

Specification: A class for counting the number of people in a room. This might be used to control how many people are allowed into a club with a doorman.

  Delete a random element from an arraylist

Elements in an ArrayList and picking one at random to remove. Unfortunately, this slow, since deleting a random element from an ArrayList is slow because of all the shifting. For this question, you should modify the poll()method so that it runs in..

  Short java paper

Using the simplified OOD methodology:

  Java application prompt user to put in integer from keyboard

Write a java application that performs the following task: prompt user to put in an integer from the keyboard, search for the user input from the array created in step 1.

  Define the gui and handle the database interactions

Programming project involves writing a program to manage a student database. The interface to the program should be a GUI

  Produces a simple formatted report

For this lab you will write a Java program that produces a simple formatted report. The program will prompt the user to enter a file name. This file must contain information in a specific format (detailed below)

  Description of routes and services

Write a method for finding a journey from one station to another using an algorithm that is specified below in this handout.

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