I
I
Ingerniated2017-05-03 09:17:51
Java
Ingerniated, 2017-05-03 09:17:51

Where does import come from in java?

Guys, tell me, when importing Java, it takes the code from Java, which is already installed on your computer or from the Internet?
And if not from the Internet, then why are all Java features not imported by default in the compiler, but do you have to do this manually?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Riard Brugekaaim, 2017-05-03
@Ingernirated

1) There is a standard library that is in the jvm itself. Otherwise, the import comes from jar libraries connected to the project.
2) And now imagine that when you start your computer, EVERYTHING is loaded into your RAM. All programs, video games and more. Here and here also, it’s not good to download what you don’t use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question