Logo F2FInterview

Java Advanced Interview Questions

Q   |   QA
‹‹ previous12345678910 ... 3738

A transient variable is a variable that may not be serialized.

The Window, Frame and Dialog classes use a border layout as their default layout.

Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.

Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.

With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

‹‹ previous12345678910 ... 3738

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: