Knowledge GateKnowledge Gate

Browse topics

  • GATE CS Preparation78
  • Placement Preparation25
  • MCQ Practice35
  • Government & Teaching Exams59
  • Programming Languages6
  • CS Fundamentals
  • Coding & Skills
  • Govt Teaching Jobs
  • Teaching Eligibility Tests
  • Govt Jobs
  • Banking & Insurance
  • PSUs
  • Railways
  • PG Entrance Exams
  • UGC NET
  1. Blog
  2. Programming Languages
  3. Java

Java

2 articles in this topic

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 14 Jul 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. String pool and heap diagrams, a step-by-step worked trace, StringBuilder performance, and four TCS and Infosys style output questions with answers.

Updated 14 Jul 2026·6 min readJava
KnowledgeGateKnowledgeGate

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

Explore

  • All Courses
  • Blog
  • Community

Company

  • About Us
  • Careers
  • Contact Us
  • Feedback
  • System Status

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy

Explore by category

  • Free Courses
  • GATE
  • NET
  • Govt Teaching Jobs
  • Placement Preparation
  • Coding & Skills
  • CS Fundamentals
  • PSU's
  • Govt Jobs
  • Govt Teaching Eligibility Tests
  • Banking & Insurance
  • Railways
  • PG Entrance Exams

© 2024 KnowledgeGate Eduventures LLP, Inc. All rights reserved.