About 8,830,000 results
Open links in new tab
  1. HashMap in Java - GeeksforGeeks

    Nov 27, 2025 · A HashMap is a part of Java’s Collection Framework and implements the Map interface. It stores elements in key-value pairs, where, Keys are unique. and Values can be duplicated. …

  2. Inner Class in Java - GeeksforGeeks

    Nov 21, 2025 · Types of Inner Classes Java supports four types of inner classes: Member Inner Class Method-Local Inner Class Static Nested Class Anonymous Inner Class Inner Class in Java 1. …

  3. Classes and Objects in Java - GeeksforGeeks

    Mar 27, 2026 · In Java, classes and objects form the foundation of Object-Oriented Programming (OOP). They help model real-world entities and organize code in a structured way.

  4. Polymorphism in Java - GeeksforGeeks

    Mar 24, 2026 · Types of Polymorphism in Java In Java Polymorphism is mainly divided into two types: Types of Polymorphism in Java 1. Compile-Time Polymorphism Compile-Time Polymorphism in …

  5. Java Constructors - GeeksforGeeks

    Mar 26, 2026 · A constructor in Java is a special member that is called when an object is created. It initializes the new object’s state. It is used to set default or user-defined values for the object's …

  6. Java Date and Time - W3Schools

    Java Dates Java does not have a built-in Date class, but we can import the java.time package to work with the date and time API. The package includes many date and time classes. For example:

  7. Static Method in Java With Examples - GeeksforGeeks

    May 2, 2025 · In Java, the static keyword is used to create methods that belongs to the class rather than any specific instance of the class. Any method that uses the static keyword is referred to as a static …

  8. Java Interface (With Examples) - Programiz

    An interface is a fully abstract class that helps in Java abstraction. In this tutorial, we will learn about interfaces in Java with the help of examples.

  9. Vector Class in Java - GeeksforGeeks

    Nov 18, 2025 · In Java, a Vector is a dynamic array that can grow or shrink in size as elements are added or removed. It is part of the java.util package and extends the AbstractList class. Maintains …

  10. LeetCode - The World's Leading Online Programming Learning Platform

    Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.