I just started my first programming class and we use jgrasp in class so i'm used to the very basics. here is my code, it's in java, please spare me any opinions about c++ or anything. We are starting our class with java, and i need to practice but i'm not sure how to work xcode.
//
// pleasework.java
// Tryagain
//
// Created by Kevin Lyman on 7/27/10.
// Copyright 2010 fatkids_inc. All rights reserved.
//
public class pleasework {
public static void main(String args[]) {
System.out.println ("Hello Kevin.");
}
}
when i run the program it asks me if i'd like to stop the executable "tryagain" i click ok and then i get a text box that pops up that says "java application" in it where i presume the words "hello Kevin" should be. What am i doing wrong, i just want to compile and run code to practice for class and do home work.
//
// pleasework.java
// Tryagain
//
// Created by Kevin Lyman on 7/27/10.
// Copyright 2010 fatkids_inc. All rights reserved.
//
public class pleasework {
public static void main(String args[]) {
System.out.println ("Hello Kevin.");
}
}
when i run the program it asks me if i'd like to stop the executable "tryagain" i click ok and then i get a text box that pops up that says "java application" in it where i presume the words "hello Kevin" should be. What am i doing wrong, i just want to compile and run code to practice for class and do home work.