Anyone knows how to create whole program in a single file or interface in eclipse IDE for java either creating different files ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Anyone knows how to create whole program in a single file or interface in eclipse IDE for java either creating different files ?

I mean different classes files?? I want the whole program to be written in a single file ??

28th Oct 2017, 5:44 PM
Rishabh
Rishabh - avatar
2 Answers
+ 1
but why? at the end you'll export is as a single .jar file anyways
28th Oct 2017, 10:31 PM
Jeremy
Jeremy - avatar
+ 1
@jeremy I'm not a professional programmer I'm just a learner and there are short programs which I write and it's irritating to make different classes ??
29th Oct 2017, 2:59 AM
Rishabh
Rishabh - avatar