Results 1 to 3 of 3
  1. #1
    jacob22 is offline Member
    Join Date
    Sep 2015
    Rep Power

    Default help with using string class

    So I'm new to programming and our first assignment is to write a poem in JGrasp

    1 horse stomping

    2 “monkeys swinging”

    12 phones ringing

    4 (=2+2) dancers twirling

    5 doctors hurling
    this is how I started out

    public class project one{
    public static void main (string[] args).{
    system.out.println("1 horse stomping");

    I complied it and I already have 3 errors
    I don't know where I went wrong

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: help with using string class

    I already have 3 errors
    Please copy the full text of the error messages and paste it here. It has important info about the error.

    Also please edit you post and wrap the code in code tags.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: help with using string class

    Read (and bookmark!) this link: Java Platform SE 8 it describes all classes and interfaces available to you. See if it contains a 'system' class (it doesn't). Java is very picky on the case of classes, methods and everything ...

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Replies: 2
    Last Post: 09-16-2013, 04:19 PM
  2. Help with passing String[] from GUI class to GUI class
    By X75TIGER75X in forum New To Java
    Replies: 9
    Last Post: 05-01-2012, 06:55 PM
  3. Replies: 3
    Last Post: 04-27-2012, 02:41 PM
  4. Replies: 0
    Last Post: 03-27-2011, 05:49 AM
  5. My own string class
    By viperlasson in forum New To Java
    Replies: 8
    Last Post: 01-25-2010, 05:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts