my dog learned polymorphism*
The moose likes Java in General and the fly likes need help with java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "need help with java" Watch "need help with java" New topic
Author

need help with java

Harry Smith
Greenhorn

Joined: Dec 05, 2005
Posts: 2
hello everyone, i trying to run this program it is giving me error. i think i typed it something wrong in main. i don't see it. can some please take a look and give me some suggestion.

[ December 18, 2005: Message edited by: Harry Smith ]
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
What is the error? Include the full exception message text and stack trace.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi Mr. ap,

Welcome to JavaRanch!

A bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Joke names and "handles" don't cut it. You'll find that many people are unwilling to answer your questions until you follow the house rules.

You can change your display name here. Thanks for your immediate attention.


[Jess in Action][AskingGoodQuestions]
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Code Tags are also a big help.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

The compilation problem is with the calls to newDataNum.print(); in main, where newDataNum is an instance of DoubleArraySeq. There is no print method defined in DoubleArraySeq. This is what the compiler should be telling you with...

...where 450 and 452 are the line numbers in your code.
Harry Smith
Greenhorn

Joined: Dec 05, 2005
Posts: 2
yes, you are right marc weber. thanks marc weber for your help.
Adam Richards
Ranch Hand

Joined: Nov 03, 2005
Posts: 135
Another Tip: Try to use more specific subject lines. The more meaningful your subject, the more meaningful your replies.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: need help with java