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
Can java arraylist hold different types?
Why do we need strings in java?
What do you mean by of string::valueof expression in java 8?
What is the difference between state-based unit testing and interaction-based unit testing?
What is the symbol for average?
What is serialization in java?
What technique is carried out to find out if a particular string is empty?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is the byte order of byte buffer?
What is the difference between jdk, jre, and jvm?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
what are the disadvantages of indexes in oracle?
What is the difference between jdk and jre?
What are variable names?
Differentiate storage classes on the basis of their scope?