plz clear me y two public classes are not allowed in a single java file
public classes
Collapse
X
-
Tags: None
-
Originally posted by rameshkumarcplz clear me y two public classes are not allowed in a single java file
Code:public class Test1
hence you cannot have two public class definitions in the same .java file -
:) lol, DO THE WORK FOR ME JEEZ! lol...you could probably import a java file like the project i'm working on, run a program inside a program but you cant(as far as I know, im not very good at this) put two programs in one with separate class headers.Comment
Comment