What are the observer and observable classes?
Answer / nashiinformaticssolutions
Objects that inherit the "Observable class" take care of a list of "observers."
When an Observable object gets upgraded, it calls the update() method of each of its observers.
After that, it notifies all the observers that there is a change of state.
The Observer interface gets implemented by objects that observe Observable objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between string and new string?
Explain abstract class in java?
Can private method static?
What are the differences between string, stringbuffer and stringbuilder?
Can applet in different page/s communicate with each other?
How Marker Interfaces are instruct to complete the desired need ?
Is java ee a framework?
What is classname class in java?
What is defined as false sharing in the context of multithreading?
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008)
Name the runtime exceptions that occurs frequently?
What is synchronization and why is it important in java programming?