Showing posts with label core java. Show all posts
Showing posts with label core java. Show all posts

Wednesday, July 22, 2009

number formation in core java

//my work java by bharat

class abc
{
public static void main(String[] arr)
{
for(int i=5;i>0;i--)
{
for(int j=6-i;j<6;j++)
{
System.out.print(j);
}
System.out.print("\n");
}

}}


simple prog in core java


//A Very Simple Example

//simple program


class abc
{

public static void main(String[] args)

{
System.out.println(" a Simple Program by bharat");
}
}