Does public static main encapsulate a class?
Meaning:
[CODE=JAVA]
public static void main(String[] args) {
// public class Myclass
// code here to do other stuff
// Am I encapsulating the class here?
System.out.prin tln(className);
}
It probably does no make sense the way I am asking this.
[/CODE]
I am getting a logical error when attempting to run code. Nothing happens.
Tell what you see. Thanks!
Dököll
Meaning:
[CODE=JAVA]
public static void main(String[] args) {
// public class Myclass
// code here to do other stuff
// Am I encapsulating the class here?
System.out.prin tln(className);
}
It probably does no make sense the way I am asking this.
[/CODE]
I am getting a logical error when attempting to run code. Nothing happens.
Tell what you see. Thanks!
Dököll
Comment