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 final keyword denotes?

679


What is java beans?

577


What is data structure in java?

539


Where pragma is used?

603


What is the declaration statement?

517






What is used of static keyword in java?

592


What is the same as procedures?

538


What is scope & storage allocation of global and extern variables? Explain with an example

583


how to one war file class to another war file class?

1554


Explain reverse a linked list iterative solution in java?

503


Can we convert integer to string in java?

599


How do you sort objects in java?

521


Is java pass by value or pass by reference?

541


What is the use of math abs in java?

552


what is the volatile modifier for? : Java thread

523