English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

4 answers

I personally like Dr. Java to actually write the code in. It is the only ide to incorporate an interactions pane, eliminating the need for a main method until you know how to use them. of course, you do still need to download the JDK.

http://drjava.sourceforge.net/

http://java.sun.com/javase/index.jsp

2006-11-09 11:02:14 · answer #1 · answered by snoboarder2k6 3 · 0 0

You should download the Java Development Kit (JDK) from Sun Microsystems:
http://java.sun.com/javase/downloads/index.jsp

As for what program you should run Java in... I'm not sure what you're asking. If you are developing on a Windows based system, you'll want to code in some sort of IDE like Visual Studio or Borland's JBuilder.

2006-11-08 12:07:56 · answer #2 · answered by nljth123 3 · 0 0

the line: myDoctor = myDoctor.diagnoseSymptom(temperature); shouldn't artwork, because of the fact the diagnoseSymtom approach returns a double, and myDoctor is a doctor merchandise, so which you won't be in a position to do the duty. perhaps you need to make diagnoseSystem return void (meaning that it would not return something), and get rid of the line "return (temperature);" or, you need to purpose "double temp = myDoctor.diagnoseSymptom(temperature);" additionally: you spelled "temperature" incorrect in "double termperature =myScanner.nextDouble();" finally, attempt putting the instructions in separate data and shop them interior the comparable folder on your complicatedcontinual. because of the fact you do no longer understand void and return... some procedures can return, or provide, values, regularly the effect of a calculation or operation, which you may use basically like a variable. the form a function returns is asserted interior the function announcement: "public (return form) (function call) {". A function may additionally return the form void, meaning no longer something, so which you won't be in a position to apply it like a variable. It basically does what it does, so which you may use it via itself.

2016-10-15 13:24:31 · answer #3 · answered by ? 4 · 0 0

first get hold of the JDK available at www.java.sun.com just so you can run your application on your local machine. As for the IDE i recommend that you use netbeans. JBUILDER is fine, but takes up lots memory so if you plan on using this, just make sure your computer can handle it.

2006-11-08 12:49:20 · answer #4 · answered by r-mean 2 · 0 0

fedest.com, questions and answers