In my program i have to use sort function of the Collections
class.
Is that compile time remains same in both the cases?
- Case 1:
include import java.util.Collections;
- Case 2:
import java.util.*;
What I thought is that the second case is gonna take long time to search for the Collections
class, if there are other import packages.
Please correct me if am wrong.