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

What is the formula to calculate percentage?

1008


How many types of memory areas are allocated by jvm?

1033


What are predicates in java 8?

1010


Why does java have two ways to create child threads? Which way is better?

1038


Explain java coding standards for constants?

1006


What is string literal in java?

1043


What do you mean by an interface in java?

1021


What do you mean by default constructor in java?

1061


Can you sort a list in java?

975


How is hashcode calculated in java?

1021


How does the java compiler work?

967


What is the meaning of I ++ in java?

1172


how to split string in java?

1205


What are mutable classes?

1040


Is there a case when finally will not execute?

1007