Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    Default Creating Forum discussion using JAVA

    Hi all...

    I have project using JAVA and my part is doing discussion forum and calendar. we have to create using JAVA.. anyone can help? i have some coding but didn't work.

    here some error that i encounter..

    Forum.java:106: 'class' or 'interface' expected
    public Forum()
    ^
    :confused:

    please help anyone..

    TQ

  2. #2
    andy_man's Avatar
    andy_man is offline Member
    Join Date
    Oct 2008
    Location
    Yerevan
    Posts
    14
    Rep Power
    0

    Default

    hi,

    the first thing, what I've noticed from your error is that perhaps you wanted to creat class or interface, but the definition for both is other.

    You need to do:

    Java Code:
    public class Forum{
    
    }
    
    public interface Forum{
    
    }
    The second thing is, you should read at least the essentials of Java for creating at least simple programs!!!!!!!!.
    TEAM = Together Everyone Achieves More :)

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by cahyasuria84 View Post
    Hi all...

    I have project using JAVA and my part is doing discussion forum and calendar. we have to create using JAVA.. anyone can help? i have some coding but didn't work.

    here some error that i encounter..

    Forum.java:106: 'class' or 'interface' expected
    public Forum()
    ^
    :confused:

    please help anyone..

    TQ
    Seems you have to lean a lot about Java. Specially on basis. It's much better to do some work on basis and then start work on your project.

    Can you show your code. I'm wondering what you have done on line 106, to define a class. May be you have more than one public class on the same file. And also for a class definition you cannot contain () at the end of class name, all about the basis.

Similar Threads

  1. Hello Java Forum Community
    By Xarver in forum Introductions
    Replies: 0
    Last Post: 09-19-2008, 05:28 AM
  2. Hello Java Forum
    By maitvn in forum Introductions
    Replies: 6
    Last Post: 08-19-2008, 08:03 PM
  3. General Discussion on Abstract
    By sanjeevtarar in forum Advanced Java
    Replies: 15
    Last Post: 05-06-2008, 07:16 AM
  4. Move to forum 'New To Java'
    By jvasilj1 in forum New To Java
    Replies: 2
    Last Post: 02-02-2008, 09:22 AM
  5. New To Java Forum
    By nani5swamy in forum Introductions
    Replies: 3
    Last Post: 01-04-2008, 04:54 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
  •