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 set ordered in java?

756


How do listeners work?

723


How many ways can we create singleton class?

709


What is the common usage of serialization?

784


What are benefits of java?

781


Explain tree set and its features?

794


How can you handle java exceptions?

714


What is variable explain with example?

773


What is a nullable field?

758


What is an interface in java? Explain

789


What the difference is between execute, execute Query, execute Update?

564


How many threads does a core java have?

754


Write a program to reverse array in place?

765


What is the difference between stream and buffer?

699


What is the difference between jvm and jre? What is an interface?

765