Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Programa {
- public void soma() {
- int x = 5, y = 7, resultado;
- resultado = x + y;
- }
- public static void main(String[] args) {
- Programa programa = new Programa();
- programa.soma();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement