Points : 4 ) Analyze the following code public class Test ( public static void main ( String args ) intix = (1 2 3 4 ) inilly = x X – new int ( 2 ) for ( int i = O ; i ylength ; it ) System out print ( y ( 1 + " " ) What is being printed on the console ?
Points : 4 ) Analyze the following code
public class Test (
public static void main ( String args )
intix = (1 2 3 4 )
inilly = x
X – new int ( 2 )
for ( int i = O ; i ylength ; it )
System out print ( y ( 1 + " " )
What is being printed on the console ?