How to find the given number is a prime number or not by getting input from the user


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can we sort a map in java?

0 Answers  


What is main method?

0 Answers  


Difference between keyword and identifier.

0 Answers   TCS,


if am have 100 threads(for ex:T1,T2---T100) how we give priority to these threads and how the system excute these threads

2 Answers  


What is string intern in java?

0 Answers  






Which all r Final classes in java except string?

5 Answers   HCL,


Explain the selection sort algorithm?

0 Answers   Hexaware,


What is the byte range?

0 Answers  


what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??

0 Answers   JPMorgan Chase,


does java support pointers?

0 Answers  


Compare Mutex and Semaphore in java.

0 Answers   Ciena,


What is meant by stack and queue?

0 Answers   GrapeCity,


Categories