Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Technology Trends by (45k points)

A) Only 1

B) Only 100

C) Only 999

D) As many as you want

1 Answer

0 votes
by (99k 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.

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...