Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Java snippet for code review - purpose: cli application for adding all numbers that come as parameters
public class Main {
// See
public static void main(String[] args){
int a = Integer.parseFrom(args[0]);
int b = Integer.parseFrom(args[2]);
int c = Integer.parseFrom(args[1]);
System.out.println(a + b + c);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.