Friday, 20 May 2011

java welcome program

public class Welcome{

public static void main (String[] args){

String[] greeting = new String[3];

greeting[0] = "Welcome to Core Java";

greeting[1] = " by sateesh";

greeting[2] = "bagadhi";

for (int i=0; i< greeting.length; i++) System.out.println(greeting[i]); } }

Post a Comment