How many public class files are possible to define in Scala source file?
Answer Posted / Barun Kumar
A Scala source file can contain multiple public class definitions separated by semicolons (;) or newline characters. There is no specific limit on the number of classes that can be defined within a single source file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers