Results 1 to 2 of 2
  1. #1
    JehanMustafa is offline Member
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    0

    Unhappy JCreator problem; class Exercise1 is public, should be declared in a file named Exerc

    idk what to do i took this to my help desk at my compuiter science building they supposidly fixed it and now its not working at all.

    class Exercise1 is public, should be declared in a file named Exercise1.java

    what does this mean i really need to do my work and now its not working.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Please have a look at the tutorials as they will show you how to create a Java file and a Java class. To learn how to do this specifically with JCreator, you would probably be best served to find and read through the JCreator tutorials.

    Best of luck.

Similar Threads

  1. Class is public, should be declared in a file
    By goldhouse in forum New To Java
    Replies: 7
    Last Post: 05-10-2012, 09:17 AM
  2. Replies: 2
    Last Post: 12-05-2009, 11:24 AM
  3. different multiple public class and main class
    By mr idiot in forum New To Java
    Replies: 2
    Last Post: 01-01-2009, 12:10 PM
  4. Replies: 5
    Last Post: 10-06-2008, 12:11 AM
  5. Pls HeLp Me (Design a class named Fan)
    By faw in forum Advanced Java
    Replies: 5
    Last Post: 04-21-2008, 07:25 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
  •