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
Why we go for collections in java?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is the new line character?
How do you bind variables?
Is heap stored in ram?
What happens if an exception is not handled in a program?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Explain the difference between arraylist and linkedlist in java?
what do you mean by marker interface in java?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What does jenkins do?
What is sortedmap in java?
Explain 5 features introduced in jdk 1.7?
How to stop a thread in java? Explain about sleep () method in a thread?
What is backdrop?