Forum: Java Nov 22nd, 2008 |
| Replies: 2 Views: 494 Thanks, I see what I did wrong and I got it working now. |
Forum: Java Nov 22nd, 2008 |
| Replies: 2 Views: 494 I tried to modify this merge sort method to sort an array of type T. Its an merge sort except iterative. I was just wondering why it wouldn't sort right? Can anyone help me out?
public static... |
Forum: Java Nov 6th, 2008 |
| Replies: 1 Views: 1,346 Nevermind, once again I managed to figure it out. |
Forum: Java Nov 6th, 2008 |
| Replies: 1 Views: 1,346 I can add a new node if the head is empty, but I can't attach a new node. Instead I get a null pointer error. Can anyone see what I'm doing wrong. I think I've been staring at this for too long.
... |
Forum: Java Nov 3rd, 2008 |
| Replies: 2 Views: 531 I know this is late, but thanks for the help. |
Forum: Java Oct 8th, 2008 |
| Replies: 2 Views: 531 I seem to be able to load the files in my program. Then I can loop through the lines one time, but if I try a second loop to load the strings into an array that one won't work.
Here's my code. I... |
Forum: Java Nov 26th, 2007 |
| Replies: 2 Views: 1,048 Nevermind this, thank you for your help. It is always a simple solution, mostly anyways. |
Forum: Java Nov 26th, 2007 |
| Replies: 2 Views: 1,048 Hi, its me again. I need help one last time. This time my problem is pretty simple, I just can't find it myself it seems. Please lend some assistance.
Here's my assignment.
import... |
Forum: Java Nov 5th, 2007 |
| Replies: 10 Views: 1,053 I did that, it says "cannot find symbol". |
Forum: Java Nov 5th, 2007 |
| Replies: 10 Views: 1,053 I finally compiled, thank you very much. One last question, how do I represent it in a contructor?
public class Student extends Person
{
Year studentYear;
public Student( String name,... |
Forum: Java Nov 5th, 2007 |
| Replies: 10 Views: 1,053 public class Student extends Person
{
public Student( String name, String address, String phone,
String email, Year grade )
{
super( name, address, phone, email);
}
public enum Year... |
Forum: Java Nov 5th, 2007 |
| Replies: 10 Views: 1,053 So bascially I change String grade to Year grade? I don't understand what you mean in the first sentence. |
Forum: Java Nov 5th, 2007 |
| Replies: 10 Views: 1,053 I need help with enums. I don't get them. This is part of a larger assignment, so all I need to do is fix this. I'm trying to assign year levels of school to constants.
public class Student... |
Forum: Java Oct 10th, 2007 |
| Replies: 6 Views: 1,142 Nonetheless, thank you for the help. |
Forum: Java Oct 10th, 2007 |
| Replies: 6 Views: 1,142 I understand what you are saying now. I just needed it explained differently, I'm a bit of an idiot. |
Forum: Java Oct 10th, 2007 |
| Replies: 6 Views: 1,142 Sorry, I don't understand what you're saying. |
Forum: Java Oct 10th, 2007 |
| Replies: 6 Views: 1,142 I didn't think I'd need help again, but I'm pretty sure its not as bad as last time. I'm trying to increment the time in Time2.class, and that compiled. The problem is I can't make a class to use... |
Forum: Java Sep 14th, 2007 |
| Replies: 4 Views: 574 Yeah, I figured it out. Basically I made the assignment out to be more than it is. Classic case of over-thinking something simple. |
Forum: Java Sep 12th, 2007 |
| Replies: 4 Views: 574 Worked on it again and fixed the compiling errors, but now it won't run correctly.
import java.util.Scanner;
public class CoffeeArray
{
public static void main( String args[] )
{
... |
Forum: Java Sep 12th, 2007 |
| Replies: 4 Views: 574 Hello everyone. This if my first post on the forum, and hopefully my last asking for help on an assignment. I've picked and picked at this, and now I'm going insane. I've edited this one too many... |