Core java - Interview Questions and Answers for 'Persistent systems' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 2787 questions in repository.
 There are more than 200 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

   



Core java - Interview Questions and Answers for 'Persistent systems' - 2 question(s) found - Order By Newest

 Q1. What are the examples of immutable objects in Java ?Core Java2017-05-29 08:35:00

Ans. Following Classes in Java SE creates immutable objects

String class
Wrapper Classes like Integer, Float etc.
StackTraceElement
Most Enum classes
File Class
Locale Class

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     immutable objects  immutable     Persistent Systems      Basic        frequent


Related Questions

  Why is String immutable in Java ?
 How does making string as immutable helps with securing information ? How does String Pool pose a security threat ?
  Why Char array is preferred over String for storing password?
 How is string object immutable if we can concat a string to it ?
  What is an Immutable Object ?
  What is an immutable class ?
  How to implement an immutable class ?
  Does Declaring an object "final" makes it immutable ?
  What are stateless objects ? How are they different from immutable objects ? Which of these two is thread safe ?
  What are advantages of stateless and / or immutable objects ?


 Q2. Can you give real time examples of thread or where thread are actually used ?Core Java2017-05-29 08:35:42

 This question was recently asked at 'Persistent Systems'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     threads  multithreading     Persistent Systems


Related Questions

  Which keyword is used to provide explicit access of a code block to single thread ?

a. Transient
b. Final
c. Explicit
d. Synchronized
  Explain multithreading in Java ?
  What is the difference between time slicing and preemptive scheduling ?
  Explain Thread States ?
  Why do we need Thread class even in case we execute thread using runnable interface ?
  What is an object's lock and which object's have locks?
  Different ways of implementing Threads in Java ?
  Difference between Process and Thread ?
  What is a Deadlock ?
  What is race condition ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

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:
         

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: