Program to find greatest prime number in n numbers?
Answer Posted / rajani nagandla
Sorry. initialize i=2 directly as 2 is the first prime
number.. no need of checking for 1.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is overriding in java?
How many bytes is 255 characters?
which class is the wait() method defined in? : Java thread
What is better - 'bit-shift a value' or 'multiply by 2'?
What are the differences between string and stringbuffer?
Distinguish between a predicate and a function?
How to sort list of list in java?
what do you mean by stream pipelining in java 8? Explain
How does the java compiler work?
Is 0 true or false?
How can you say java is object oriented?
How can the checkbox class be used to create a radio button?
Explain about the main() method in java?
What is the difference between a static and a non-static inner class in java programming?
What is ascii code?