Sum of two number in Java

Script:

Output:

 

Sum of two numbers using Object and Class

Script:

Output:

 

Sum of two numbers using Method

Script:

Output:

 

How to swap two numbers in Java

Script:

Output:

 

Find large and small number in Java

Script:

Output:

 

Reverse a number in Java

Script:

Output:

 

Create a directory in Java

Script:

Output:

 

Create empty file in a directory

Script:

Output:

 

 

Rename the File Name in Java

Script:

Output:

 

 

Find Even and Odd Numbers

Script:

Output:

 

 

1 2 3 9