public class PrintPoint
{
	public int x = 5;
	public int y = 10;
	void dispoint()
	{
		System.out.println("Printing the Coordinates");
		System.out.println(x +" "+y);
	}
	public static void main(String args[])
	{
		PrintPoint point = new PrintPoint();
		point.dispoint();
	}
}

Click here to go back.

Our aim is to provide information to the knowledge seekers.


comments powered by Disqus


Footer1