File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic


nick danasi

Joined: Dec 30, 2012
Posts: 15
can anyone suggest we about these and these are to be done with just using arrays and neither with objects or packages??
1)In the given two dimensional array, find out the position of number 66 and print.

Input - int[][] a2 = {{5, 8, 9, 4},{11, 55, 66, 88}};

Output - 55 digit found at row - and column -???

2)Create a char array and add name 'VENKATESH PILLAI'.

Find out how many times character 'A' is repeating in the name and Position of character 'A'.

Output -

Character 'A' repeating 2 times

Position of 'A' is

Position of 'A' is

its really urgent please!!! reply soon
Steve Luke

Joined: Jan 28, 2003
Posts: 4181

This is a duplicate post. The other is found here:

Please keep the conversation going in the other thread. I am closing this one.

I agree. Here's the link:
subject: arrays
It's not a secret anymore!