What is a lock or purpose of locks in java?


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

Post New Answer

More Core Java Interview Questions

How to handle a web browser resize operation?

0 Answers  


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

0 Answers   Google,


What classes of exceptions may be caught by a catch clause in java programming?

0 Answers  


What is a website container?

0 Answers  


Which collection object is faster to retrieving the data and inserting the data into it.

2 Answers   Jamcracker, Virtusa,


Can a constructor be private and how are this() and super() method used with constructor?

0 Answers   Flextronics, Hexaware,


Describe method overriding

0 Answers  


What are the application of stack?

0 Answers  


What is a method declaration?

0 Answers  


hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class

1 Answers  


In which language java is written?

0 Answers  


How many days will it take to learn java?

0 Answers  


Categories