Knowledge GateKnowledge Gate
Store
Study
Community
Connect
Downloads
Knowledge Gate
Live
Course cartChat
Sign in

Browse topics

  • GATE CS Preparation90
  • Placement Preparation285
  • MCQ Practice505
  • CS Fundamentals668
  • Coding & Skills566
    • Web Development74
    • Programming Languages330
      • Java75
      • Python74
      • C35
      • C++71
      • Programming Languages Survey74
    • DSA & Algorithms88
    • ML & Data Science74
  • Govt Teaching Jobs152
  • Teaching Eligibility Tests89
  • Govt Jobs78
  • Banking & Insurance171
  • PSUs35
  • Railways12
  • PG Entrance Exams28
  • UGC NET101
  • Tech & Innovation4
  1. Blog
  2. Coding & Skills
  3. Programming Languages
  4. Java

Java

75 articles in this topic

Java 8 to Java 21 Features Interviewers Actually Ask: Streams, Records, Sealed Classes and Virtual Threads

Learn the modern Java features that lead to real interview follow-ups, with small code examples, version boundaries and the limits a strong answer should mention.

Updated 30 Oct 2026·5 min read·496 viewsJava

Classic Programs in C, Java and Python

Learn six placement-programming methods through one clean implementation each. The focus is logic, edge cases, complexity and porting, not memorised code.

Updated 30 Oct 2026·6 min readJava

String Handling in Java: String Pool, Immutability and Fresher-Test Questions

Where Java strings actually live, why they never change, and how == vs equals() decides service-company output questions. A String pool and heap diagram, a step-by-step worked trace, StringBuilder performance, and four fresher-test output questions with worked answers.

Updated 30 Oct 2026·6 min readJava
Previous34567
KnowledgeGateKnowledgeGate

India's AI-powered learning platform for GATE, PSUs, UGC-NET, placements and coding.

Explore

  • Store
  • Choose a goal
  • Course catalogue
  • Blog
  • Community
  • Kartavya

Company

  • About Us
  • Careers
  • Contact Us
  • For AI assistants
  • Feedback
  • Help us debug
  • System Status

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy

Explore exam groups

Browse complete catalogue

Teaching Exams (Classes 1–8)

Teaching Exams (Classes 9–12)

College Teaching Exams

GATE, PSU, Engineering & Technical Exams

Banking, Insurance & Regulatory Exams

SSC, Railway & Graduate Govt Exams

Placement Preparation & Coding

CAT & MBA Entrance Exams

PG Entrance Exams

12th Pass Govt Exams

ITI & Technician Exams

UPSC & State PCS Exams

10th Pass Govt Exams

GATE Computer Science & IT Previous Year Papers

ISRO Scientist/Engineer SC Computer Science Previous Year Papers

Learn with KnowledgeGate

KnowledgeGate brings courses, test series and study resources together for exam preparation and career skills. Explore an available preparation goal, compare course details and choose the learning path that fits your needs.

Founded by Sanchit Jain Sir, KnowledgeGate grew from computer-science teaching on YouTube into an online learning platform. Learn on the web or take your courses, notes and progress with you in the KGAI Android app.

More about KnowledgeGate →

© 2026 KnowledgeGate AI Private Limited. All rights reserved.