java - Where do we "import" the stuff from? -


i assuming of familiar import java.util*; :)

i wanted know, physically store these classes on our computer, , if so, where? or need sort of internet connection.

i assuming has java vm. don't know sure.

why can't import java.*;

the class files physically stored on computer. example, go in %jre directory%/lib/rt.jar. in archive file , see java packages (you can find java.util.arraylist.class example).

you can import java.* still need qualify paths every package comes after java.*


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -