How are observer and observable used in java programming?


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

Post New Answer

More Core Java Interview Questions

You're given a Boolean 2D matrix, can you find the number of islands?

0 Answers   Amazon,


How many types of operators are there?

0 Answers  


84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks

2 Answers  


Can we use synchronized block for primitives?

0 Answers  


How do you use compareto in java?

0 Answers  


What is the return type of read()?

3 Answers  


Explain static nested classes ?

0 Answers  


Why do we use string?

0 Answers  


How to declare unique ArrayList ?

6 Answers   RMSI,


Which are different kinds of source code?

0 Answers  


Is a string literal?

0 Answers  


Categories