<s>[INST] import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num1 = scanner.nextInt();
        int num2 = scanner.nextInt();
        int sum = num1 + num2;
        System.out.println("The sum is: " + sum);
        scanner.close();
    }
}

This is an example of procedural programming. Here is why:
 
*   All the code is in the main method (global scope).
*   The variables are assigned directly (no objects are created).
*   A simple algorithm is used to calculate the sum.

Can you convert this into an object-oriented code?[/INST]