package com.di.ex06;

public class Emp {
	private String name;
	private int salary;
	
	public Emp() {}

	public Emp(String name, int salary) {
		this.name = name;
		this.salary = salary;
	}

	@Override
	public String toString() {
		return name + " - 급여 : " + salary;
	}
	
	
}