I don't get how to do this because I dont get how to call a method aka the sum like what do I do here?
package com.codegym.task.task01.task0128;
/*
As simple as 2+2
*/
public class Solution {
public static void main(String[] args) {
int sum = (2 + 2);
System.out.println(sum);
}
public static void sum(int a, int b) {
int c = a + b;
System.out.print(c);
}
}