Core java - Interview Questions and Answers for 'Eq technologic' | Search Interview Question - javasearch.buggybread.com
Questions
Search
List By Company
List By Topic
Legacy
Tests
Repository
DashBoard
Java
Java 8
Java 7
Java Abbreviations
OCJP / SCJP
Class List
New in Java 8
Java Exceptions
Spring Exceptions
Java Enums
Java 8 Lambda
Java 8 java.time
Big Data
Best Of Java
Discussion
Search
Subscribe
Search Interview Questions
More than 3000 questions in repository.
There are more than 900 unanswered questions.
Click here
and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company
Label / Company / Text
Search
Submit Question
Core java - Interview Questions and Answers for 'Eq technologic' - 2 question(s) found
- Order By Newest
Frequently asked question for intermediate developers. Frequently asked in HCL Technologies and EPAM.
Q1.
What is Volatile keyword used for ?
Core Java
Ans. Volatile is a declaration that a variable can be accessed by multiple threads and hence shouldnt be cached.
Sample Code for volatile
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 java   oops   synchronization   volatile   java keywords
Asked in 42 Companies
intermediate
 
frequent
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Try 1 Question(s) Test
The use of volatile keyword facilitates ..
Making Use of Cache for better Performance
Avoiding use of Cache
Making use of Backward as well as Forward Cache
Keeping only one copy of variable in Cache
Related Questions
How does volatile affect code optimization by compiler?
how is the internal code for the "volatile" implemented ?
What are the different ways to avoid multi Threading related problems in Java ?
Can we make array volatile in Java ?
Have you heard of volatile Table in Teradata ?
what is volatile and atomic
Q2.
What is the use of Transient Keyword ?
Core Java
Ans. It in Java is used to indicate that a field should not be serialized.
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 java   oops   serialization   transient   java keywords
Asked in 39 Companies
intermediate
 
frequent
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Try 2 Question(s) Test
Which of the following is true ?
We can serialize static variables
We can serialize transient variables
We can serialize final variables
We can serialize instance methods
Which of following are serialized ?
static variables
transient variables
instance variables
method local variables
Related Questions
Which of the following combination of keywords is illegal in Java ?
a. static and transient
b. transient and final
c. static and synchronized
d. abstract and final
Which keyword is used to provide explicit access of a code block to single thread ?
a. Transient
b. Final
c. Explicit
d. Synchronized
Can we declare static variables as transient ?
What are transient variables in java?
Which of the following is true ?
Variables of an interface are intrinsically ...
a. transient
b. final
c. public
d. static
Help us and Others Improve. Please let us know the questions asked in any of your previous interview.
Any input from you will be highly appreciated and It will unlock the application for 10 more requests.
Company Name:
Questions Asked: