GeekInterview.com
Series: Subject: Topic:
Question: 19 of 1118

In Java, Package does not contain__________

1) Class 2) Package 3) Interfaces 4) Objects
Asked by: aniketyadao500 | Member Since Dec-2011 | Asked on: Dec 10th, 2011

View all questions by aniketyadao500

Showing Answers 1 - 5 of 5 Answers
a4ashish

Answered On : Dec 25th, 2011

View all answers by a4ashish

Objects , because objects are created upon loading JVM when the class is loaded....

  
Login to rate this answer.
sindhu

Answered On : Dec 28th, 2011

Interface

Yes  1 User has rated as useful.
  
Login to rate this answer.
Tushar

Answered On : Feb 9th, 2012

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

  
Login to rate this answer.
Neha Gupta

Answered On : 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.

  
Login to rate this answer.
cirrus

Answered On : Feb 19th, 2012

View all answers by cirrus

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.

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.