Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AddIntegers {
- public static void main(String[] args) {
- // Created two "integer type" variables
- int numOne = 3;
- int numTwo = 4;
- //Print out the output of the addition
- System.out.println(numOne + numTwo); //7
- }
- }
Add Comment
Please, Sign In to add comment