Java Control Statements

Submitted by admin on
Let us first understand what is Statements in the computer programming language before going in depth into control statements..

A statement in a programming language is a single command or instruction that specifies some action to be performed by the computer. In other words, it's a unit of code that tells the computer what to do. Statements can range from simple commands like assigning a value to a variable, to complex logic structures such as if-else statements or loops.

Java package

Submitted by admin on

A package in Java is a rule used to group your related classes, interfaces and sub-packages.

A Java package organizes Java classes into namespaces, providing a unique namespace .

packages provides a good structure of the project incase  huge amount of classes and files.

There are two types of package

Subscribe to Java