Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

To include class files in java package

  Asked By: Darla    Date: Nov 18    Category: Java    Views: 1060

Suppose i have got the following java files
1.java, 2.java and 3.java
3.java is the main file which include classes 1.class and 2.class
So i compile 1.java and 2.java first before I compile 3.java

Now all these r in a directory say "a/b/c"

is it right to give inside the files 1,2,3.java
package a.b.c;

and then the rest of the program



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on To include class files in java package Or get search suggestion and latest updates.