View Single Post
Old Jan 27th, 2008, 11:40 AM   #1
zanatos
Newbie
 
Join Date: Dec 2007
Posts: 11
Rep Power: 0 zanatos is on a distinguished road
Importing classes!

I am making a small program that will use the quadratic equation to solve a problem. I am suppose to make two separete classes, one to ask for input(main method) and the other to calcuate. So far I made both classes and wrote the code. However, I am having problems importing the second class and calling it! I know I have to write this import classname; but how do I call the class? so it can do its function.

Thx in advance.
zanatos is offline   Reply With Quote