How do you refer to a class in a package ?give an example
Answers
Answered by
7
Answer:
Hey there this is your answer..!!!
Package in Java is a mechanism to encapsulate a group of classes, subpackages and interfaces. Packages are used for: ... For example there can be two classes with name Employee in twopackages, college. staff.
Explanation:
hope this helps you...!!!
Answered by
0
Package in Java is a mechanism to encapsulate a group of classes, subpackages and interfaces. Packages are used for: ... For example there can be two classes with name Employee in twopackages, college. staff.
- Ex:A package means a complete version of an application software installed on your computer, phone etc.... For example, The MS Office package consists of Word, PowerPoint, Excel, Access, Publisher etc.... The Adobe package consists of photoshop, flash etc....
I hope it will help you.
please say thanks and follow me.
Similar questions