import javax.swing.JOptionPane;


public class Demo1 
{
	/*String text;
	
	Demo1()
	{
		text = "I hate la";
	}
	
	String getText()
	{
		return text;
	}
    
	public static void main(String[] args)
	{
	Demo1 progInst=new Demo1();
	String Text= progInst.getText();
    System.out.println(Text);
	}
	*/
	public static void main(String[] args)
	{  
		int age= 10;
		double height=1.68;
		char grade= 'X';
		System.out.println(grade);
		float weight= 54.4f;
		float weight2= (float)54.4; // explicit casting
		byte data= 5;
		age = data; // implicit casting
		final double PI = 3.142; //defining constant
		
		String strAge = JOptionPane.showInputDialog("Input your age");
		age = Integer.parseInt(strAge);
		JOptionPane.showMessageDialog(null, "your age after 5 years is"+(age+5 ));
	}

}