• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help with java

 
Harry Smith
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the error? Include the full exception message text and stack trace.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Code Tags are also a big help.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, you are right marc weber. thanks marc weber for your help.
 
Adam Richards
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another Tip: Try to use more specific subject lines. The more meaningful your subject, the more meaningful your replies.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic