Currently browsing

Page 35

How volatile keyword works in java

When a shared variable is  accessed by multiple threads, think about volatile keyword.  When a field  is accessed by multiple threads, one …

Enumeration Vs Iterator in java

 Functionalities of both Iterator & Enumeration interfaces are similar that means both generates a series of all elements of the object which is …