Core Java - Interview Questions and Answers for 'Mmutable' | 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
Interview Questions and Answers
- Order By Rating
Q31.
What are advantages of stateless and / or immutable objects ?
Object Oriented Programming
Ans. They can be shared across multiple threads as they are thread safe.
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 java   stateless objects   immutable  immutability objects   objects
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
What are stateless objects ? How are they different from immutable objects ? Which of these two is thread safe ?
What are the benefits of creating immutable objects ?
What are the examples of immutable objects in Java ?
What are the drawbacks of creating immutable objects ? Why don't we create all object immutable if mutability possesses so much threat ?
Does immutability facilitates better performance ?
What is immutability and What are it's disadvantages ?
Q32.
Which of the following class creates mutable objects ?
a. Boolean
b. File
c. String
d. StringBuffer
Ans. StringBuffer
Help us improve. Please let us know the company, where you were asked this question
:
Like
Discuss
Correct / Improve
 java   immutable  immutability
Correction
Duplicate of Another Question
Company where this question was Asked
Suggestion
Related Questions
Why is String immutable in Java ?
Why Char array is preferred over String for storing password?
How does making string as immutable helps with securing information ? How does String Pool pose a security threat ?
How is string object immutable if we can concat a string to it ?
How to implement an immutable class ?
What is an immutable class ?
What is an Immutable Object ?
Does Declaring an object "final" makes it immutable ?
Is String final in Java ?
What are stateless objects ? How are they different from immutable objects ? Which of these two is thread safe ?
Q33. Which of the following class creates immutable objects ?
Reference
Core Java
a. String
b. StringBuffer
c. StringBuilder
d. None of these create immutable objects.
Ans.a. String
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: