0% found this document useful (0 votes)
12 views1 page

Java Interview Prep Flashcards

Uploaded by

aayushgunjal8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Java Interview Prep Flashcards

Uploaded by

aayushgunjal8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Java Interview Readiness Flashcards

1. Core Java Basics


- Syntax, structure, data types, operators, control flow, I/O.
- Memory Hook: "Java is strict about types and structure."

2. OOP (PIEA)
- Polymorphism, Inheritance, Encapsulation, Abstraction.
- Access Modifiers, this/super, Constructors.
- Memory Hook: "OOP in Java = PIEA."

3. Collections & Data Structures


- List (ArrayList, LinkedList), Set (HashSet, TreeSet), Map (HashMap, TreeMap).
- Time Complexity: ArrayList add/get O(1), LinkedList get O(n), HashMap put/get O(1).
- Memory Hook: "List for order, Set for uniqueness, Map for key-value."

4. Java Language Features


- Strings (Immutable), StringBuilder, Exception Handling, Wrapper Classes, Generics.
- Java 8+: Lambdas, Streams.
- Memory Hook: "Use StringBuilder if changing text, handle exceptions gracefully."

5. JVM & Memory


- JDK, JRE, JVM differences.
- Heap (objects), Stack (methods, local vars).
- Garbage Collection basics.
- Memory Hook: "Heap for objects, Stack for execution."

6. Problem Solving in Java


- Brute Force -> Optimize approach.
- Use HashMap for O(1) lookups.
- Memory Hook: "Check complement first, then store."

7. Bonus: Multithreading
- Thread creation via extends Thread or Runnable.
- synchronized keyword, Executors.
- Memory Hook: "Threads run parallel - synchronize shared data."

You might also like