Hi Aruna, Importing packages using wild card may introduce outright naming conflicts if multiple packages having the same class name. For an example class Date can be found in java.util package and java.sql package. Therefore as Chamil mentioned it increases the readability and helps you to troubleshoot compile time errors easily.
Apart from the compile time over head, this won't be causing any performance overhead Regards, Firzhan On Fri, Aug 1, 2014 at 10:30 AM, Uvindra Dias Jayasinha <[email protected]> wrote: > Thought I'd throw these in as well, > > > http://stackoverflow.com/questions/7735671/order-of-import-statements-in-java > > http://stackoverflow.com/questions/3500256/does-import-statements-sequence-have-any-effect > > confirms what has been said already. > > > > On 1 August 2014 09:42, Aruna Karunarathna <[email protected]> wrote: > >> Hi Chamil, Udara, >> >> Thanks for the explanation. >> >> Further digging In here [1] I've found that order of the imports matter. >> As far as I understood. It's also a readability concern. >> >> [1]. >> http://mail.wso2.org/mailarchive/carbon-dev/2010-November/044877.html >> >> -- >> >> * Aruna Sujith Karunarathna* | Software Engineer >> WSO2, Inc | lean. enterprise. middleware. >> #20, Palm Grove, Colombo 03, Sri Lanka >> Mobile: +94 71 9040362 | Work: +94 112145345 >> Email: [email protected] | Web: www.wso2.com >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Regards, > Uvindra > > Mobile: 777733962 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
