Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write java code to print second max number in the array

Answer Posted / hitman

hey using collections solving this type of problem becomes
easy but whenever u go for interview most of the time they
ask you to write program without using collection API thts
why i think rajaram's code is correct

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a string literal?

1000


Can we convert integer to string in java?

1006


What is method overloading with type promotion?

1211


Similarity and difference between static block and static method ?

871


How do you compare two objects?

877


What does s mean in regex?

954


Is singleton class thread safe?

951


Which api is provided by java for operations on set of objects?

1397


What does localhost mean?

885


What is set and get methods in java?

926


Write a program to show whether a graph is a tree or not using adjacency matrix.

1034


What exactly is methodology?

860


Can an integer be a string?

984


What is the super void?

841


Can the interface be final?

961