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. How can I implement this logic?


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

Post New Answer

More Core Java Interview Questions

What is the synonym of string?

0 Answers  


What are the advantages of java?

0 Answers  


What is the smallest package in Java API?

5 Answers   iGate,


Is java a digit method?

0 Answers  


What is skeleton and stub?

0 Answers  






What is the main use of generics in java?

0 Answers  


Why is java architectural neutral?

0 Answers  


What is the difference between a scrollbar and a scrollpane?

0 Answers  


What is a treeset in java?

0 Answers  


What is methods in java?

0 Answers  


What is append function?

0 Answers  


is java support call by reference and call by value, if supports please explain?

5 Answers  


Categories