Write a class which checks whether a given number is prime
or not. Write another class to implement the behavior of
previous class and print the series of twin prime number
upto a given range.


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

Post New Answer

More Java Related AllOther Interview Questions

What is numberformatexception in java?

0 Answers  


what is major difference between component and object?

1 Answers   HCL, Patni,


What is serializable in java?

0 Answers  


For each of the following program segments,give a big zero analysis for the running time 1.For (i=0;i<m;i++) { // } 2.For (j=0;j<i;j++)

0 Answers   St. Pauls University,


What does persist mean in java?

0 Answers  


How should I format my code? How should I comment my code?

0 Answers  


what are the steps in JDBC connectivity..???

1 Answers   IBM, SoftCom, TCS,


Does ms edge support java?

0 Answers  


Why there are no global variables in java?

0 Answers  


Do I need jdk or jre?

0 Answers  


How to implement Thread

2 Answers  


What is the use of flatmap?

0 Answers  


Categories