How to display all the prime numbers between 1 and n (n is the number, get the input from user)


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

Post New Answer

More Core Java Interview Questions

What is the difference between public, private, protected, and friend access?

0 Answers   Amazon,


Can you call a method on a null object?

0 Answers  


what is encapsulation in java? Explain

0 Answers  


What are wrapped classes in java programming?

0 Answers  


Explain about the performance aspects of core java?

0 Answers  






What is Applet Stub Interface ?

0 Answers  


What is the primary benefit of encapsulation?

0 Answers  


List the features of java programming language.

0 Answers  


What is meant by data hiding/encapsulation?

0 Answers   Cyient,


What is a java developer salary?

0 Answers  


What are meta-annotations?

0 Answers   Cyient,


What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?

5 Answers  


Categories