Skip to content

About

Repo for java core

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

       CORE JAVA – CONCEPT WISE QUESTIONS

🔹 1️⃣ OOPS (Object Oriented Programming)

Concepts Covered: Class, Object, Inheritance, Polymorphism, Abstraction, Encapsulation

Important Questions:

  • What is OOP?
  • Difference between class and object?
  • Explain encapsulation with example.
  • What is inheritance? Types in Java?
  • What is polymorphism? (Compile-time vs Run-time)
  • What is abstraction?
  • Abstract class vs Interface?
  • Method overloading vs overriding?
  • What is constructor?

🔹 2️⃣ JVM Architecture

Concepts Covered: JVM, JRE, JDK, Memory Areas

Important Questions:

  • What is JVM?
  • JDK vs JRE vs JVM?
  • Explain JVM memory structure.
  • Stack vs Heap memory?
  • What is Garbage Collection?

🔹 3️⃣ Data Types & Variables

Concepts Covered: Primitive, Non-primitive, Wrapper Classes

Important Questions:

  • What are primitive data types?
  • int vs Integer?
  • What is type casting?
  • What is auto-boxing & unboxing?

🔹 4️⃣ Control Statements

Concepts Covered: if, switch, loops

Important Questions:

  • while vs do-while?
  • break vs continue?
  • Can we use String in switch?

🔹 5️⃣ Strings

Concepts Covered: String, StringBuilder, StringBuffer

Important Questions:

  • Why is String immutable?
  • String vs StringBuilder vs StringBuffer?
  • What is String pool?
  • == vs equals()?

🔹 6️⃣ Exception Handling

Concepts Covered: try, catch, finally, throw, throws

Important Questions:

  • What is exception?
  • Checked vs Unchecked exceptions?
  • What is finally block?
  • What is custom exception?

🔹 7️⃣ Multithreading

Concepts Covered: Thread, Runnable, Synchronization

Important Questions:

  • What is thread?
  • Process vs Thread?
  • How to create thread in Java?
  • What is synchronization?
  • What is deadlock?

🔹 8️⃣ Collections Framework

Concepts Covered: List, Set, Map

Important Questions:

  • ArrayList vs LinkedList?
  • HashMap vs Hashtable?
  • What is Iterator?
  • Comparable vs Comparator?
  • Fail-fast vs Fail-safe?

🔹 9️⃣ Java 8 Features

Concepts Covered: Lambda, Stream API, Functional Interface

Important Questions:

  • What is lambda expression?
  • What is functional interface?
  • What is Stream API?
  • What is default method?

🔹 🔟 File Handling & IO

Concepts Covered: File, Streams

Important Questions:

  • FileInputStream vs FileReader?
  • What is serialization?
  • What is transient keyword?

==================================================

About

Repo for java core

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages