Volatile in Java

541 views · Published 4 February 2014 · 2:42 · Indexed 20 September 2026

Channel: Interview DOT · 2014 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. Volatile in Java

Short  Java Interview Question And Answer ?

1.Difference between Interfaces and Abstract classes ?

Abstract classes have a body  member elements  where as Interfaces just have methods and static member declarations. 

2.Explain Constructor ?

Its an operation that initializes the object. Its a block of code which is executed at the time of Object creation.

3.What is Dynamic Binding ?

Association of function call to function definition during run time.

4.What is the use of Volatile Keyword ?

Volatile is a declaration that a variable can be accessed by multiple threads and hence shouldn't be cached.

5.Explain Serialization ?

Storing the state of an object in a file or database or other medium.


Volatile in Java
A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

More from this channel