Hi all,
I have to w.a.p to display name,age and designation using an array.I am bit confused with arrays any have i tried and written a code,but its showing an error.
[COLOR="Blue"]class Array { public static void main(String args[]) { int S[]={{dfg,20,manager},{fgh,36,Asst.Manager},{fgh,36,Marketing Manager}}; for(int i=0;i<3;i++) System.out.println(s[i]); } }[/COLOR]
This is the code i have written,will u plz rectify the mistakes.
Thank u.