Java Program to Add Two Integers
mrt481 444 28th Aug, 2022
Loading Please wait...
Description
In this program, two integers 10 and 20 are stored in integer variables first and second respectively. Then, first and second are added using the + operator, and its result is stored in another variable sum. Finally, sum is printed on the screen using println() function.
Recent Pastes
- C++ Program to Add Two Numbers
C++ | 5.6K | 11 months ago
- C++ Program to Print Number Entered by User
C++ | 3.3K | 11 months ago
- C++ "Hello, World!" Program
C++ | 2.4K | 11 months ago
Please disable your adblock and script blockers to view this page