Paul Clapham wrote:
Ed Palazo wrote:Whats the best ide for working with multiple classes in linux?
If you have only one class then there isn't much point in using an IDE, right?
What I'm trying to say is, all of them are designed to handle more than one class at a time.
Carey Brown wrote:I was a Java consultant for 25 years and _every_ company I worked for used Eclipse. Mostly, I really like Eclipse. The rest I've learned to live with. Oh well.
Carey Brown wrote:Not familiar with Visual Studio, sorry.
Carey Brown wrote:
Ed Palazo wrote:I got object is moving
Carey Brown wrote:
Carey Brown wrote:If you are currently in your "Java_Interfaces" folder
Carey Brown wrote:How about
Carey Brown wrote:We'd need to know a couple of things:
What does your project directory tree structure look like?
What directory were you in when you ran the compile?
Exactly what was the command line you used to compile?
What version of the JDK are you using?
Knute Snortum wrote:You really need to format your code correctly. It is going to help your coding and debugging a lot.
You're calling the searchCourse() method like this:
But your method signature looks like this:
So you see you have declared the method to take two parameters but you call it with only one.
But before you change that, don't you want the method to return the courseName? If so, you should declare searchCourse() to return s String, then add a return statement to your searchCourse() method.
There are several other problems with the code, but let's start with that.
Carey Brown wrote:Can you show us the current state of your searchCourse() method? Show the whole thing, don't cut off the beginning or end of the method.
You've allocated an array to hold the schedule up to 6 classes. You have not yet assigned a course to any of those 6 slots.
Also show us your addCourse() method.