Sunday, June 11, 2017

30 Java Exceptional Handling interview Questions

1) What is an Exception in java?

2) Explain java Exception hierarchy?

3) Difference between java.lang.Exception and java.lang.Error in java?

4) Explain need for Exception handling in java?

18 Array java coding interview questions

1) How to find the missing number in integer array of 1 to 100?

2) How to find first non-repeating element in array of integers?

3) How do you compare two arrays in java?

4) How do you sort the array elements?

Explain and identifier and its rules in java?


25 String Coding Interview Questions in java?

1) Write a java program to print duplicate characters from String?

2) Write a java program to check two strings are anagrams or not?

3) Write a java program to count the number of words in a string?

4) Write a java program to count the total number of occurrences of a given character in a string without using any loop?

Difference between method overloading and method overriding in java?


Explain hibernate second level cache?


Explain hibernate first level cache?


What is ORM and its features in java?


Popular Posts