You are on page 1of 15

Function: is a group or blocks of code that perform a task.

Class: a container for related functions, it is used to organize the codes such as products in the
shop which has their own specific place .

Access modifier: is a special keywords that dertermine if other classes and methods in this
program can access to this classes and methods , we have various acess modifiers such as public
and private and so on .

Void is a reserve keyword and the only function that can return something and main() is the
name of the function it can be anything

Basic structure of java program


Multidimention array

To solve the problem


It has two rows and three columns

Three dimensional array


Constant

Arithmatic operation
Result is 2
result is 2 as up

X=2 , y=1
both x and y is 2
result is 3
result is 1

The ceiling of this number is 2

Result is the larger integer which is one here

You might also like