why this program is not working.
class ar
{
int[] a;
a=new int[3];
a[0]=1;
a[1]=2;
a[2]=3;
}
class demo
{
public static void main(String[]arg)
{
ar b=new ar();
System.out.println(b.a[0]);
}
}
javadanishakhtar18@gmail.com December 7, 2012 at 1:50 PM
job
ARRAYS - JAVAMAPULANGA CHRISTOPHER MWELWA October 23, 2012 at 5:59 PM
Create an array of 10 values (2.3,3.44,1.22,7.99,8.33,6.72,4.67,5.33,3.78,7.77). Using for seperate methods, create a total of all the 10 values, secondly, search arrays and return values that are less than 5.2, thirdly find their average and lastly return values that are greater than the average.
thank usuman July 6, 2011 at 11:10 AM
is very nice easily understanding
javadudhrejiya vipul February 7, 2013 at 6:06 PM
java program is good programing lanluage
arrayanil June 19, 2012 at 11:58 AM
why this program is not working. class ar { int[] a; a=new int[3]; a[0]=1; a[1]=2; a[2]=3; } class demo { public static void main(String[]arg) { ar b=new ar(); System.out.println(b.a[0]); } }
COMPUTERjason September 3, 2012 at 7:01 AM
NICE !!!
javadanishakhtar18@gmail.com December 7, 2012 at 1:50 PM
job
ARRAYS - JAVAMAPULANGA CHRISTOPHER MWELWA October 23, 2012 at 5:59 PM
Create an array of 10 values (2.3,3.44,1.22,7.99,8.33,6.72,4.67,5.33,3.78,7.77). Using for seperate methods, create a total of all the 10 values, secondly, search arrays and return values that are less than 5.2, thirdly find their average and lastly return values that are greater than the average.
Post your Comment