⟩ Name the four states associated in the thread?
new,
runnable,
blocked,
dead
new,
runnable,
blocked,
dead
int a = 1L; won’t compile and int b = 0; b += 1L; compiles fine. Explain me why?
Explain me what is method overloading and method overriding?
Explain me what is the volatile keyword? How and why would you use it?
Tell us why would it be more secure to store sensitive data (such as a password, social security number, etc.) in a character array rather than in a String?
Explain me what is association?
Can you give real world examples of when to use an ArrayList and when to use LinkedList?
Can you explain me what is Polymorphism?
Explain me what is the difference between String s = "Test" and String s = new String("Test")? Which is better and why?
Explain me what does it mean for a collection to be “backed by” another? Give an example of when this property is useful?
Explain me what is runtime polymorphism or dynamic method dispatch?