Java program question

mooo

thecyberninja
Joined
6 Jan 2004
Messages
886
I amworking on my lab due next thursday and i am stuck on what to do, i am trying to find the circumference and area of a elipse. I have the circum.java right it looks, it compiles and everything, but on the main i am trying to display circum but it doesn't compile

Main.java:6: cannot resolve symbol
symbol : method displayIt ()
location: class Circum
obj1.displayIt();

is the error. I put the project on my sites, if someone can look at it would make me so happy. :)

http://www.thecyberninja.com/project2.3.rar
 

Geffy

OSNN Veteran Addict
Joined
18 Mar 2002
Messages
7,805
I'll give it a shot in a second as I cant seem to download it in BSD so I have to boot into windows
 

mooo

thecyberninja
Joined
6 Jan 2004
Messages
886
oh i see that now :) thanks a lot, now i gotta figure out why it isn't inputing numbers, just using 0
thanks again, glad you pointed that out, never woulda have realized that

90% done :) , just realizing in my Main.java i was only doing the displayIt object, so added the other 2 above it. still outputting a 0, but its letting me input so i am hella happy

100% complete!!! i took out all the other stuff like displayIt, just made it body, it works fine now. going to look into to see how i import area and circum into a display it without reset back to 0. i think that was the problem :)
 

rushm001

In the beginning......
Political Access
Joined
21 Sep 2002
Messages
3,484
I'm glad somebody knows, I know nothing about Java!
 

mooo

thecyberninja
Joined
6 Jan 2004
Messages
886
good luck :)
if you learned on C++ its usually better and the programs are a lot cleaner. But i still love my C :)
 

Members online

No members online now.

Latest forum posts

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,995
Messages
673,389
Members
5,585
Latest member
LucyHennessy