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
Write a program in java to find the maximum and minimum value node from a circular linked list.
What are the actions that can occur when a thread enters blocked state?
Name some classes present in java.util.regex package.
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
How to find the largest value from the given array.
What is flush () in java?
Give reasons supporting that string is immutable.
What is the mapping mechanism used by java to identify IDL language?
What is the difference between a local variable and an instance variable?
hr interview how many minutes asking question
Can you access the private method from outside the class?
How will you initialize an Applet?
Is arraylist ordered in java?
Can we sort hashmap in java?
Why do we need wrapper classes?