Java program question

mooo

thecyberninja
#1
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
 

mooo

thecyberninja
#4
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 :)
 

Members online

No members online now.

Latest posts

Latest profile posts

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 https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,969
Messages
673,295
Members
89,016
Latest member
dopexoity