how many public classes in a .java file allowed?
In a java file how many public classes can be present?
The answer is ONLY ONE. But most refined answer is Only one Public Class, since there may be public nested class inside the same .java file which is legally allowed.
source : A Javaranch thread -> http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=33&t=023337
unfold
how many public classes in a .java file allowed? by
itsraghz, 1185465495|%e %b %Y, %H:%M %Z|agohover





