Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 974 Bytes

General-Java.md

File metadata and controls

23 lines (20 loc) · 974 Bytes

Java 7 or We Just Say General Jva Questions Mostly Asked in Interviews

  1. What is the difference between HashMap and HashTable?
  2. How does hashmap work internally?
  3. What is a singleton design pattern?
  4. What is the Runtime exception? How to create a custom runtime exception?
  5. What are the bean scopes? Difference between singleton and Request bean scope?
  6. What are actuators?
  7. Which algorithm is used in garbage collector?
  8. What is Method Reference in Java 8?
  9. Write a Program to print only numbers from an alphanumeric char array using Java 8.
  10. Can we override the static method?
  11. Write a Program to find the duplicates in an array using stream API.
  12. Explain Throw, throws, and throwable keywords in Java.

Java Platform

  1. Why is Java so popular?
  2. What is platform independence?
  3. What is bytecode?
  4. Compare JDK vs JVM vs JRE
  5. What are the important differences between C++ and Java?
  6. What is the role for a classloader in Java?