I have to do this program in java that converts fahrenheit to celsius and vice versa. I get how to do this, but I need to use 2 classes, and multiple procedures.
I don't really understand why i have to use two classes, but can someone give me an example, because im guessing in the first class you can input something like the fahren to cel conversion, and the second class cel to fahre but this doesn't seem right. I'm going to use the message box to input numbers, and display the numbers in the message panel.
Question
xtac
I have to do this program in java that converts fahrenheit to celsius and vice versa. I get how to do this, but I need to use 2 classes, and multiple procedures.
I don't really understand why i have to use two classes, but can someone give me an example, because im guessing in the first class you can input something like the fahren to cel conversion, and the second class cel to fahre but this doesn't seem right. I'm going to use the message box to input numbers, and display the numbers in the message panel.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts