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
About Question com.enthuware.ets.scjp.v6.2.567 :
Moderator: admin
-
- Posts: 2
- Joined: Tue Aug 12, 2014 9:14 pm
- Contact:
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.567 :
Did you read the explanation? It explains exactly why they are valid. If you have any specific problem, please let us know.
-
- Posts: 2
- Joined: Tue Aug 12, 2014 9:14 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.567 :
I read but was unable to understand. Can you please explain.
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.567 :
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.
Who is online
Users browsing this forum: No registered users and 10 guests