Shows the String class
class pqr
{
String arr[] = new String[3];
void lmn()
{
arr[0] = "ffjdkj";
arr[1] = "sjdsjhkj";
arr[2] = "fdjfdj";
int i =0;
while (i<3)
{
System.out.println(arr[i]);
i++;
}
}
public static void main(String args[])
{
pqr obj = new pqr();
obj.lmn();
}
}
Pradyut
http://pradyut.tk
http://spaces.msn.com/members/oop-edge/
http://groups-beta.google.com/group/oop_programming
No comments:
Post a Comment