Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

diff b/w sleep(1000) and wait(1000)?

4 Answers   Huawei,


Explain different data types in Java.

5 Answers  


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.

0 Answers   V2 Solutions,


What is meant by final class?

0 Answers  


write a simple program inheritance?

2 Answers   Polaris,


Explain about fail safe iterators in java?

0 Answers  


What is difference between an object and a class?

0 Answers   Amdocs,


How do you use substring in java?

0 Answers  


Why are the objects immutable in java?

0 Answers  


What is the program compilation process?

0 Answers  


What is anti pattern in cyber security?

0 Answers  


How to make a read-only class in java?

0 Answers  


Categories