Reading_Notes

View the Project on GitHub Hiba-Almade/Reading_Notes

Arrays, Loops, Imports

Package:

package = directory

You can compile more than one Java file in one place by importing packages

> There are three levels of packet definition

>> The import can be for an entire class or a private part of it, or even the full name of the class can be satisfied on the line I want to use it in.. > Using any of them does not affect memory. > The order doesn’t matter > There are classes that do not need to be called, such as String and system

LOOPs:

Loop is a type of programming command that is used when needed to execute programming statements a number of times according to a specific condition

>> Java provides different types of loops, each with a special use: