Results 1 to 3 of 3
- 10-25-2008, 08:25 AM #1
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
- 10-25-2008, 09:34 AM #2
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:
The second thing is, you should read at least the essentials of Java for creating at least simple programs!!!!!!!!.Java Code:public class Forum{ } public interface Forum{ }TEAM = Together Everyone Achieves More :)
- 10-25-2008, 03:15 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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
-
Hello Java Forum Community
By Xarver in forum IntroductionsReplies: 0Last Post: 09-19-2008, 04:28 AM -
Hello Java Forum
By maitvn in forum IntroductionsReplies: 6Last Post: 08-19-2008, 07:03 PM -
General Discussion on Abstract
By sanjeevtarar in forum Advanced JavaReplies: 15Last Post: 05-06-2008, 06:16 AM -
Move to forum 'New To Java'
By jvasilj1 in forum New To JavaReplies: 2Last Post: 02-02-2008, 08:22 AM -
New To Java Forum
By nani5swamy in forum IntroductionsReplies: 3Last Post: 01-04-2008, 03:54 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks