今日のIT英語 Lesson10「What Is a Package?」

今日のIT英語 Lesson10「What Is a Package?」

今日のIT英語 Lesson10「What Is a Package?」

今回も前回に引き続き、「Oracle」の「Java tutorial」を読み解きながら、パッケージって何?ということを英語で説明できるようになりましょう。

A package is a namespace that organizes a set of related classes and interfaces.


Conceptually you can think of packages as being similar to different folders on your computer.


You might keep HTML pages in one folder, images in another, and scripts or applications in yet another.


Because software written in the Java programming language can be composed of hundreds or thousands of individual classes, it makes sense to keep things organized by placing related classes and interfaces into packages.


引用文献:The Java™ Tutorials


You have to import a class which you want to use.
There are two ways to import class. One is to import the class path, the other is to import all classes under specified package.

Recent News

Recent Tips

Tag Search