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

Why we go for collections in java?

1022


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1236


What is the new line character?

1227


How do you bind variables?

1150


Is heap stored in ram?

1013


What happens if an exception is not handled in a program?

1147


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1101


Explain the difference between arraylist and linkedlist in java?

1022


what do you mean by marker interface in java?

1020


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1061


What does jenkins do?

965


What is sortedmap in java?

1072


Explain 5 features introduced in jdk 1.7?

1057


How to stop a thread in java? Explain about sleep () method in a thread?

1064


What is backdrop?

1126