|
-
Jul 4th, 2003, 07:22 PM
#1
Thread Starter
New Member
class
i m new in java and would like to ask a silly question. is 1 program means 1 class?? or 1 program can have many class?? for example:
public class first
public static void main (string arg[]){
code.....
public static void register (string arg[])
{ code......}
public static void sales (string arg[])
{ code....}
public static void play (string arg[])
{ code....}
}
please advice
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|