One of the IT Companies Java Interview Questions and Answers-1 1) How many objects will be created for the following scenario? Integer a1=10; Integer a1=10; Integer a1=20; Integer a1=15; Ans: 3 objects will be created. Explanation: Java storing value in the cache and while initialization will check in the cache, if it is exist […]
Tag: Java Keywords
Java Keywords
Java keywords interview questions and answers
Java keywords interview questions and answers Here I am going to sharing some of the important and frequently asking Java keywords interview questions and answers. So before going to java interview, refresh your mind go through the following Java keywords interview questions and answers. What is use of synchronized keyword? This keyword is used to […]