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
Which version of my browser should I use? : java security
What is profile in java?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?
In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.
Why we use beans in java?
How do I create an executable jar file?
How do I know if I have jre or jdk?
Explain the inheritance principle.
Explain working of java virtual machine (jvm)?
Please tell what are frames,pannel,container,jframe,jpannel and what are there relation?
Can optional be null?
What is the meaning of the words public, static and void?