aspose file tools*
The moose likes Beginning Java and the fly likes Quick question about  new object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Quick question about  new object" Watch "Quick question about  new object" New topic
Author

Quick question about new object

Julio Ibanez
Greenhorn

Joined: Mar 17, 2004
Posts: 2
I'm trying to create two classes. One with 3 methods. I'm trying to make all variables and methods static. My problem is on line score = new score() it tells me that cannot resolve symbol class score.
Can anyone shine a light on my problem? Please? I'm not sure what I'm doing wrong.... Thanks for any help you can give me.
[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ March 17, 2004: Message edited by: Dirk Schreckmann ]
eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
Where do you define your "score" class? You seem to have a private primative double called score, but I don't see a score class which you could instantiate?
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
[ March 17, 2004: Message edited by: Julio Ibanez ]

Try this instead

hth
Nigel
Julio Ibanez
Greenhorn

Joined: Mar 17, 2004
Posts: 2
Got it Working!
Tnx for the help!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Quick question about new object