Programming - Packages - Discussion

You Are Here :: Home > JAVA > Packages - Discussion

 



Q.

Which is the correct syntax of creating a package?                         


A. Package pack1[pack2[----[pack-n]]]; B. pack1[pack2[----[pack-n]]] package;
C. both a and b D. none

Answer: Option A
Explaination:

 


Package pack1[pack2[----[pack-n]]]; is the correct syntax of creating the package.




Discussion

Your Comments Goes here...
NameDiscussion