
-----------------------------------
Jonny Tight Lips
Thu Jan 13, 2005 11:52 am

Do you need classes?
-----------------------------------
In Java can you make a program without using classes. Ie. Like turing, just right a program linearly? Also do you need to save every class as a seperate file or can you put multiple classes on one page just one after another? Thax

-----------------------------------
rizzix
Thu Jan 13, 2005 12:44 pm


-----------------------------------
u always need classes in Java. u could put multiple classes in one file.. but it is not the standard for java programming. although u should keep in mind the name of the file should be that of the executable class (the one with the main method).

-----------------------------------
Tony
Thu Jan 13, 2005 4:56 pm


-----------------------------------
just make a single class with a single driver method main() and put everything inside of that. :?
