| | |
How come this program doesnt run?
![]() |
0
#12 Oct 7th, 2009
saucer is an object of TYPE Disk. Disk is a class. Remember, in java, Classes are blueprints for objects. So, yes you will need the Disk class. Place the code in the same package as class TestDisk and then if you are still having issues, post back here and we will try and help
. Also, I recommend you look at the basics of objects & classes in java:
here
. Also, I recommend you look at the basics of objects & classes in java:here
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
•
•
Join Date: Dec 2008
Posts: 65
Reputation:
Solved Threads: 1
0
#13 Oct 7th, 2009
oh... i see. I make another thread, its not about disk but this time I typed the code and the constructor (if thats what its called) the two files are in same pack. but it gives this error: Static Error: No static method in Circle with name 'main' accepts arguments (String[])
this is the link to my other thread: http://www.daniweb.com/forums/post10...ml#post1007535
this is the link to my other thread: http://www.daniweb.com/forums/post10...ml#post1007535
![]() |
Similar Threads
- C++ Fraction Program- Need alittle extra (C++)
- help - i changed the name of a folder and now my program doesnt run properly (Java)
- My Program doesnt run, afer installing the setup file. Plz help. (Visual Basic 4 / 5 / 6)
- Pascal : Cant see why program wont run, exits with error. (Pascal and Delphi)
- my program is compiled.but on run that i have message "Exception in thread "main" jav (Java)
- Using MFC in a Static Library (C++)
Other Threads in the Java Forum
- Previous Thread: Moving to Ingres is Easier, Company Says
- Next Thread: How come it gives this error when I run a program?
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card character class client code collision component crashcourse css csv database eclipse ee error fractal free game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linux list loan machine map method methods migrate mobile netbeans newbie objects oriented output panel phone physics problem program programming project projects radio recursion replaydirector reporting researchinmotion scanner se server service set sms software sort sql string swing test textfield threads transfer tree trolltech ubuntu utility windows






