About Question com.enthuware.ets.scjp.v6.2.567 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
manishmohitsharma
Posts: 2
Joined: Tue Aug 12, 2014 9:14 pm
Contact:

About Question com.enthuware.ets.scjp.v6.2.567 :

Post by manishmohitsharma »

Can Someone please explain

int[] array1, array2[];
int[][] array3;
int[] array4[], array5[];
Which of the following are valid statements?

how array2=array3, array2 = array4,array5=array3

admin
Site Admin
Posts: 10385
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.567 :

Post by admin »

Did you read the explanation? It explains exactly why they are valid. If you have any specific problem, please let us know.

manishmohitsharma
Posts: 2
Joined: Tue Aug 12, 2014 9:14 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.567 :

Post by manishmohitsharma »

I read but was unable to understand. Can you please explain.

admin
Site Admin
Posts: 10385
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.567 :

Post by admin »

I want to help but unless I know what you don't understand, I can't explain. It is a simple question really where you are assigning array objects of one dimension to variables of the same dimension (1-1, 2-2, etc,). There is nothing else going on here.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests