# Arrays

#### 6 Comments

• raghukn says:

Create a two player card game in which .We should generate a Deck(52 cards=4 suit of 13 cards) and it should be stored in a Array List from which each player pick a card randomly and determine winner (Player with larger card).
if card picked is same then its draw.

• raghukn says:

Create a two player card game in which .We should generate a Deck(52 cards=4 suit of 13 cards) and it should be stored in a Array List from which each player pick a card randomly and determine winner (Player with larger card).
if card picked is same then its draw.

• VJY says:

can anyone get me solution of 2D array sorting logic bye passing a 2d array integer type from main to a function sort..plz helo me

• VJY says:

/* can anyone get me the solution of how to sort a two D array integer type in way of this example bye passing a 2d array integer type from main to a function sort()..without using inbuilt function of java */

class Multi_SortA
{
static void sort(int array[][])
{

}

System.out.println(“Sorted order is: “);

public static void main(String[] args)
{

sort( new int[][] { {3,2,5},{6,4,9},{7,8,1} } );
}

}

• Guest says:

dude where’s the example?

• Ryka EchiDan says:

Ask the user to input N student record(maximum of 20 records)with their id,name,course,and year. Create an array as your storage. Be able to perform the ff.
A.search by id
b. Search by course
c. Delete by id
allow the user to perform operations a to c as often as possible.

Be sure the list according to their names in ascending order without using any existing sort algo.