Help with import
May I know when do we need to use below import? For which method do we need to use below import?
The import statements above import entire classes or even entire packages (with all the classes in them). Nobody knows what methods in those classes you want to use.
Originally Posted by eel
ps. there is no need to import the java.lang package; it is conceptually imported by the compiler automatically. There is also no need to import an entire package and some classes from that package separately.
Thanks a lot for the information :)