B
Bret Casanova
Can anyone tell me the exact process to use a class file in a project.
Every beginner website has the same crap about writing a "hello
world" program and then there's some presumed leap that you know how
to add class files.
Maybe this is one of those things that is considered so easy that
nobody ever mentions it but I've been looking for this process for
days and can't figure it out.
For example I have a class file that gets the path to the current
folder, the only method in it is a main method.
Now if I want to use that class file from some other project that
already has a main method how can I do it. What is the exact
"process" that I would use to somehow use that class file that gets me
the directory in a different project.
All I ever read is that class files are the building blocks of more
robust projects but I can't find anything anywhere that tells me how I
can actually use the damn class file. I'm just supposed to somehow
magically know this already.
If anyone could just assume that I am mentally retarded and tell me
exactly the steps I would need to do to use the class file I would
seriously appreciate it because I'm getting nowhere.
If it matters the ide I have is eclipse.
Thank you.
Every beginner website has the same crap about writing a "hello
world" program and then there's some presumed leap that you know how
to add class files.
Maybe this is one of those things that is considered so easy that
nobody ever mentions it but I've been looking for this process for
days and can't figure it out.
For example I have a class file that gets the path to the current
folder, the only method in it is a main method.
Now if I want to use that class file from some other project that
already has a main method how can I do it. What is the exact
"process" that I would use to somehow use that class file that gets me
the directory in a different project.
All I ever read is that class files are the building blocks of more
robust projects but I can't find anything anywhere that tells me how I
can actually use the damn class file. I'm just supposed to somehow
magically know this already.
If anyone could just assume that I am mentally retarded and tell me
exactly the steps I would need to do to use the class file I would
seriously appreciate it because I'm getting nowhere.
If it matters the ide I have is eclipse.
Thank you.