Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2008, 11:02 AM
Member
 
Join Date: Sep 2008
Posts: 2
rameshkr is on a distinguished road
disadvantage of .*;
import java.util.*;
What is the disadvantage of using "*" in an import statement as shown in the sample above?
Choice 1
The Java Virtual Machine takes slightly longer to load the class file.
Choice 2
The class file is less portable.
Choice 3
The maximum number of classes allowed to be imported is limited to 128.
Choice 4
The code dependencies are difficult to evaluate from reading the code.
Choice 5
The Java Virtual Machine takes slightly longer to validate the class file.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-09-2008, 11:51 AM
Senior Member
 
Join Date: Jun 2008
Posts: 469
masijade is on a distinguished road
You tell us. We are not going to take your test for you.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-09-2008, 12:55 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You have some test cases with you. Test it, you can feel what happen. You know what means by * sign, right? So you can make a decision your self.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 09-09-2008, 03:49 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
Ask your self this: What effect does an import statement have when executing a program?
The answer to that will help you shorten the list of answers.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 09-09-2008, 05:30 PM
freddieMaize's Avatar
Member
 
Join Date: Apr 2008
Posts: 63
freddieMaize is on a distinguished road
Congratulations on your 1000th post Norm
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 09-09-2008, 06:04 PM
Member
 
Join Date: Sep 2008
Posts: 31
khajalid is on a distinguished road
I think you should not ask such questions.You should analyse that concept based on the working of the java
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 09-10-2008, 09:31 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yes, you should ask such questions after making an attempt first and have some concepts on your mind. First analyze and then implement and see criticize the results.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 09-10-2008, 04:17 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
No guys..
He was trying to test all of us whether we are not capable of answering him or not so that he can decide whether to continue or not...

isnt it ramesh???
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 09-10-2008, 04:47 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
Is rameshkr going to come back with the answer?
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 09-11-2008, 06:41 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by Niveditha View Post
No guys..
He was trying to test all of us whether we are not capable of answering him or not so that he can decide whether to continue or not...

isnt it ramesh???
My point is, he comes with some test scenarios and why don't have practice them. So he can have the better idea about that.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it a disadvantage of interface? Kavana Krishnappa New To Java 1 12-15-2007 08:40 PM


All times are GMT +3. The time now is 02:33 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org