This site contains links and resources available across internet related to Java Technology.
(If you want to suggest any related link, please do so, by sending an email to "tryquestions @ yahoo . com")

1. Core Java Questions Answers Set 1

2. Core Java Questions Answers Set 2

3. Java comparable and comparator

Question:
1. What goes to heap memory while executing Java code?
   instance variables, static variables, and array elements.
2. Can a final variable value be changed?

   To my understanding, final variable reference (in case of object as type) cann't be changes
   and value (in case of primitive datatypes) cann't be changed.

3. How to write logic for a shuffling set of numbers?
   To my understanding, it can be done, by using java.util.Random and two
   arrays, one is the source array, having all the numbers to be shuffled
   and the other array is to to store the final shuffled array. 
   The source array should be squeezed in each iteration.

4. how to avoid Thead Dead Lock in a multithread Java application?
   As Java Thread locks a monitor of a synchronized method on an object
   or instance, so if there are multiple synchronized methods in a singleton
   class and multiple threads accessing methods (and methods are calling each
   other), then there could be chances that Thread deadlock may happen.
   (To my understanding)

Disclaimer:
Java, J2EE are trademark or registered trademark of Sun Microsystems, Inc. in the United States
and other countries. this site is independent of Sun Microsystems, Inc.

All other names and trademarks are the property of their respective owners.

These questions and answers are just author's understanding and may or may not be
accurate.