Basically I have two different classes, one, which creates Tickets Objects. Each object is an array of 6.
Expand|Select|Wrap|Line Numbers
- public class Ticket
- {
- int theticket[]; // token to be inserted on the array
- Ticket(int a[])
- {
- theticket = new int[6];
- }
- }
I need to print the 30 Tickets(therefore 6 * 30 numbers) from ArrayTicket Class.
Any idea, how can do it?