disadvantage of .*;
What is the disadvantage of using "*" in an import statement as shown in the sample above?
The Java Virtual Machine takes slightly longer to load the class file.
The class file is less portable.
The maximum number of classes allowed to be imported is limited to 128.
The code dependencies are difficult to evaluate from reading the code.
The Java Virtual Machine takes slightly longer to validate the class file.
You tell us. We are not going to take your test for you.
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.
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.
Congratulations on your 1000th post Norm :)
I think you should not ask such questions.You should analyse that concept based on the working of the java
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. ;)
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??? ;)
Is rameshkr going to come back with the answer?
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.
Originally Posted by Niveditha