0

It is possible to create multiple classes in one package and import them to another class or package.?

14th Mar 2020, 5:06 AM
Shrikant Khurd
Shrikant Khurd - avatar
2 Réponses
+ 4
Yes
14th Mar 2020, 8:07 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 2
That is what packages are used. Package concept is collecting related classes into single module.. And rather than writing multiple time same code, form package of classes and import to another program when needed and use. So reduces code and improve readability..
14th Mar 2020, 6:44 AM
Jayakrishna 🇮🇳