/*
import java.util.Scanner;
class Phone
{
private String name, tel;
public Phone (String name, String tel)
{
this.name = name;
this.tel = tel;
}
public String getName()
{
return name;
}
public String getTel()
{
return tel;
}
}
public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
System.out.print("인원수>>");
int n=sc.nextInt();
Phone [] p = new Phone[n];
for (int i=0; i<n; i++)
{
System.out.print("이름과 전화번호(번호는 연속적으로 입력)>>");
String name = sc.next();
String tel = sc.next();
p[i] = new Phone(name,tel);
}
System.out.print("저장되었습니다...");
while(true)
{
System.out.print("검색할 이름>>");
String sn = sc.next();
if(sn.equals("exit"))
{
System.out.println("프로그램을 종료합니다...");
break;
}
int i;
for (i=0; i<n; i++)
{
if(p[i].getName().equals(sn))
{
System.out.println(sn+"의 번호는" +p[i].getTel()+"입니다.");
break;
}
}
if(i==n)
{
System.out.println(sn+"이 없습니다.");
}
}
}
}
*/
/*
class StaticSample
{
int n;
static int m;
}
class Main
{
public static void main(String[] args) {
StaticSample a = new StaticSample();
StaticSample b = new StaticSample();
a.m=30;
StaticSample.m=50;
System.out.println(b.m);
}
}
*/
import java.util.Scanner;
class Main
{
private String title, artist, year,country;
public Main()
{
}
public Main(String title,String artist,String year, String country)
{
this.title = title;
this.artist = artist;
this.year = year;
this.country = country;
}
public void show()
{
System.out.println(year+"년 "+country+"의 "+artist+"가 부른 "+title);
}
public static void main(String[] args) {
Main m = new Main("a","b","c","d");
m.show();
}
}