Home » Interview » Technology

Can a source file contain more than one class declaration?

Correct Answer: Yes a single source file can contain any number of Class declarations but only one of the class can be declared as public

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion