class Private
{
private int id = 101;
private String name = "Smith";
private void show()
{
System.out.println("Id = "+id+"\nName = "+name);
}
public static void main(String args[])
{
Private pvt = new Private();
pvt.show();
System.out.println("Id: "+pvt.id+" Name: "+pvt.name);
}
}