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
What are null interfaces? Give some examples?
What are static blocks in java ?
I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
Hi Friends, I am new to java. Can u explain about thread concept.How i know one thread is locked, and how can i force or acquire another thread for lock . Finally how to know thread is released from lock. Explain types of lock(like method level and block level) in thread.
what is use of session tracking ?with example?
What is java argument list?
What is the use of inner class?
Do extraneous variables affect validity?
What about features of local inner class?
Is integer immutable in java?
In which language JVM (Java Virtual Machine) is implemented
What is the root class for all Java classes?