In Java, Package does not contain__________

1) Class
2) Package
3) Interfaces
4) Objects

Questions by aniketyadao500

Showing Answers 1 - 15 of 15 Answers

Tushar

  • Feb 9th, 2012
 

Object, because object are possible when we write it manually.........by new keyword

  Was this answer useful?  Yes

Neha Gupta

  • Feb 17th, 2012
 

Objects. This is because package does contain interfaces like Serializable. Classes and other sub-packages or packages always fall under package.

Object class does fall under java.lang package but Objects are created when any concrete class is instantiated.

  Was this answer useful?  Yes

cirrus

  • Feb 19th, 2012
 

Java packages do not contain objects. This is so, because unlike classes, interfaces, and sub-packages, Java objects are instantiated entities, and do not always exist.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions