Forum: Java Jan 19th, 2007 |
| Replies: 32 Views: 6,167 I can imagine plenty of people responding with the immediate suggestion of eclipse, however eclipse also uses a decent amout of recources probably due to the fact it IS programmed in java (I... |
Forum: Java Jan 17th, 2007 |
| Replies: 14 Views: 4,634 Just a side note...this post is so long that Java has already changed to just Java SE 6, not Java 2 SE anymore.
Basically, leave it alone....it's done.
Regards,
Tyler S. Breton |
Forum: Java Jan 17th, 2007 |
| Replies: 10 Views: 16,843 This is going to be harder than you think due to the fact that numbers are represented differently depending on the position in the number the specific digit is in. For example, if a 5 is in the... |
Forum: Java Jan 10th, 2007 |
| Replies: 5 Views: 2,173 In this forum, we do not do homework to people who do not show effort. Saying you have put in effort is one thing....proving it is another. I'm not saying you're asking for the answer per se,... |
Forum: Java Jan 6th, 2007 |
| Replies: 5 Views: 1,047 It will work fine but as stated above, try to follow better naming guidelines. <Pizza> in your case describes a list of what looks to be orders...whereas <description> IS a description, but of a... |
Forum: Java Dec 27th, 2006 |
| Replies: 5 Views: 1,332 Compiles and runs fine for me. |
Forum: Java Dec 26th, 2006 |
| Replies: 5 Views: 1,332 Are you trying to run this program as a console application? Applets are not run the same way console applications are in Java. Java.exe is used to run applications whereas AppletViewer.exe is used... |
Forum: Java Dec 26th, 2006 |
| Replies: 2 Views: 1,199 |
Forum: Java Dec 24th, 2006 |
| Replies: 4 Views: 8,638 It is similar to the foreach loop in C#, i believe they call it an "advanced for loop" or something. |
Forum: Java Dec 22nd, 2006 |
| Replies: 2 Views: 1,866 Well he (the programmer of the DOS version) rewrote it from the original nintendo version, so YES you can by rewriting the whole thing. Good luck with that.
Regards and best of luck,
~Tyler... |
Forum: Java Nov 12th, 2006 |
| Replies: 1 Views: 2,798 All it looks like that's showing you is that an object of type wheat can be stored in a grain variable, since wheat extends grain, but the proper method will be called even though the variable is of... |
Forum: Java Nov 5th, 2006 |
| Replies: 7 Views: 2,118 I'm a bit confused. Do you want to input an array of strings and then alphabatize them? I can't understand your wording, maybe you could make it a bit clearer for us. |
Forum: Java Nov 2nd, 2006 |
| Replies: 2 Views: 1,543 I dont think java provides any convienient way of doing this, you'll probably need to do it out longhand with loops and the % operator. |
Forum: Java Oct 26th, 2006 |
| Replies: 11 Views: 4,162 I might be mis-interpreting what your saying, but did you implement a main method in the program you are trying to run? |
Forum: Java Oct 26th, 2006 |
| Replies: 4 Views: 2,550 I dont know how anyone is going to read that. Its hard for me to read it because it's not indented or in a code tag. |
Forum: Java Oct 25th, 2006 |
| Replies: 9 Views: 3,132 I wasnt implying that he should use it, all i said was thank god printf is now included in java 5. Learning to format IS a good thing, but once you understand it already shortcuts are always a plus.... |
Forum: Java Oct 24th, 2006 |
| Replies: 9 Views: 3,132 thank god java 5 has printf |
Forum: Java Oct 23rd, 2006 |
| Replies: 2 Views: 1,049 if(temperature>98.6)
fever = true; |
Forum: Java Oct 20th, 2006 |
| Replies: 6 Views: 1,932 The first implementation doesnt work because diff ends up becoming negative before the value reaches 0. Should be an infinite loop if my quick glance is correct. |
Forum: Java Oct 16th, 2006 |
| Replies: 9 Views: 2,652 I prefer textpad. It doesnt offer quite the amount of features as netbeans, but it is small, simple, and quick-loading. It highlights keywords and offers a quick way to compile and run applications... |
Forum: Java Oct 7th, 2006 |
| Replies: 4 Views: 1,307 An object variable's value is the given object's address in the dynamic storage area. A normal (or primitive type) variable itself has a value.
Example:
Object c;
c = new Object();
int a... |