Spring 프레임워크1 스프링 실습 예제코드 - Spring project name : FirstMVC - 디렉터리 구조 Calculator.java package com.javalec.ex; public class Calculator { public Calculator() { } public void addition(int f, int s) { int result = f + s; System.out.println(f + " + " + s + " = " + result); } public void subtraction(int f, int s) { int result = f - s; System.out.println(f + " - " + s + " = " + result); } public void multiplication(int f, int s).. 2021. 4. 5. 이전 1 다음