Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to plus two numbers in java

public class Rohit {
    public static void main (String[]args){

        int a=5;
        int b=6;
        int sum =a+b;

        System.out.println("The sum is: "+sum);
    }
    
}
 
PREVIOUS NEXT
Tagged: #numbers #java
ADD COMMENT
Topic
Name
9+5 =