How is import done in Java?

后端 未结 8 1262
终归单人心
终归单人心 2020-11-29 19:57

For instance

import org.apache.nutch.plugin.Extension,

though used many times,

I\'ve no much idea what is done essentially.

8条回答
  •  無奈伤痛
    2020-11-29 20:29

    Basically when you make a class you can declare it to be part of a package. I personally don't have much experience with doing packages. However, afaik, that basically means that you are importing the Extension class from the org.apache.nutch.plugin package.

提交回复
热议问题