Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Technology Trends by (43.4k points)

A) Only 1

B) Only 100

C) Only 999

D) As many as you want

1 Answer

0 votes
by (97.1k points)

The correct answer to the question “How many Classes can be defined in a Single Program” is, option (d). As many as you want. Inside a program, you can mention any number of classes, since there is no restriction, but the only thing that should be remembered is that all their names should be different.

Interested in learning Programming Languages? Check out the Online Programming courses from Intellipaat. Also, check out the below-posted video on Fastest Way to Learn Programming, as it will help you in gaining a better understanding.

Browse Categories

...