BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

OOPs concepts – What is Aggregation in java?

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

Aggregation is a special form of association. It is a relationship between two classes like association, however its a directional association, which means it is… [Read More]

Tags: Java-OOPs

OOPs concepts – What is Association in java?

Last Updated: May 29, 2024 by Chaitanya Singh | Filed Under: java

Association is an important concept of object-oriented programming. In this article, we will discuss what is an Association in Java with the help of examples and… [Read More]

Tags: Java-OOPs

Encapsulation in Java with example

Last Updated: May 29, 2024 by Chaitanya Singh | Filed Under: java

Encapsulation is one of the fundamental concept of object-oriented programming (OOP) It is widely used for data hiding, it binds the data (variables) and the… [Read More]

Tags: Java-OOPs

Does Java support Multiple inheritance?

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

When one class extends more than one classes then this is called multiple inheritance. For example: Class C extends class A and B then this… [Read More]

Tags: Java-OOPs

Types of inheritance in Java: Single,Multiple,Multilevel & Hybrid

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

Below are Various types of inheritance in Java. We will see each one of them one by one with the help of examples and flow… [Read More]

Tags: Java-OOPs

Garbage Collection in Java

Last Updated: May 30, 2024 by Chaitanya Singh | Filed Under: java

When JVM starts up, it creates a heap area which is known as runtime data area. This is where all the objects (instances of class)… [Read More]

Tags: Java-OOPs

OOPs Concepts in Java With Examples

Last Updated: October 25, 2022 by Chaitanya Singh | Filed Under: java

In this guide, you will learn the OOPs Concepts in Java. Object-oriented programming System(OOPs) is a programming concept that is based on “objects”. The primary… [Read More]

Tags: Java-OOPs

Java – Static Class, Block, Methods and Variables

Last Updated: October 25, 2022 by Chaitanya Singh | Filed Under: java

Static keyword can be used with class, variable, method and block. Static members belong to the class instead of a specific instance, this means if… [Read More]

Tags: Java-OOPs

Static and dynamic binding in java

Last Updated: November 20, 2024 by Chaitanya Singh | Filed Under: java

Static and dynamic binding are basic OOPs concepts. These concepts are associated with the polymorphism. When a method is called in a java program, its… [Read More]

Tags: Java-OOPs

Types of polymorphism in java- Runtime and Compile time polymorphism

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

In the last tutorial we discussed Polymorphism in Java. In this guide we will see types of polymorphism. There are two types of polymorphism in… [Read More]

Tags: Java-OOPs

Packages in Java explained with Examples

Last Updated: May 30, 2024 by Chaitanya Singh | Filed Under: java

A package as the name suggests is a pack(group) of classes, interfaces and other packages. In java we use packages to organize our classes and… [Read More]

Tags: Java-OOPs

Constructors in Java – A Complete Guide

Last Updated: May 30, 2024 by Chaitanya Singh | Filed Under: java

Constructor is a block of code that initializes the newly created object. A constructor resembles an instance method in java but it’s not a method… [Read More]

Tags: Java-OOPs

OOPs in Java: Encapsulation, Inheritance, Polymorphism, Abstraction

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: java

In the last article we discussed OOPs Concepts. If you have not yet checked it out, I would highly recommend you to read it so… [Read More]

Tags: Java-OOPs

Polymorphism in Java with example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: java

Polymorphism is one of the OOPs feature that allows us to perform a single action in different ways. For example, lets say we have a class… [Read More]

Tags: Java-OOPs

Inheritance in Java With Examples

Last Updated: November 30, 2024 by Chaitanya Singh | Filed Under: java

Inheritance is one of the useful feature of OOPs. It allows a class to inherit the properties and methods of another class. A class inheriting… [Read More]

Tags: Java-OOPs

  • « Previous Page
  • 1
  • 2
  • 3

Java Tutorial

Java Introduction

  • Java Index
  • Java Introduction
  • History of Java
  • Features of Java
  • C++ vs Java
  • JDK vs JRE vs JVM
  • JVM - Java Virtual Machine
  • First Java Program
  • Variables
  • Data Types
  • Operators

Java Flow Control

  • Java If-else
  • Java Switch-Case
  • Java For loop
  • Java while loop
  • Java do-while loop
  • Continue statement
  • break statement

Java Arrays

  • Java Arrays

OOPs Concepts

  • OOPs Concepts
  • Constructor
  • Java String
  • Static keyword
  • Inheritance
  • Types of inheritance
  • Aggregation
  • Association
  • Super Keyword
  • Method overloading
  • Method overriding
  • Overloading vs Overriding
  • Polymorphism
  • Types of polymorphism
  • Static and dynamic binding
  • Abstract class and methods
  • Interface
  • Abstract class vs interface
  • Encapsulation
  • Packages
  • Access modifiers
  • Garbage Collection
  • Inner classes
  • Static import
  • Static constructor

Java Exception Handling

  • Exception handling
  • Java try-catch
  • Java throw
  • Java throws
  • Checked and Unchecked Exceptions
  • Jav try catch finally
  • Exception Examples
  • Exception Propagation

Collections Framework

  • Collections in Java
  • Java ArrayList
  • Java LinkedList
  • Java Vector
  • Java HashSet
  • Java LinkedHashSet
  • Java TreeSet
  • Java HashMap
  • Java TreeMap
  • Java LinkedHashMap
  • Java Queue
  • Java PriorityQueue
  • Java Deque
  • Comparable interface
  • Comparator interface
  • Collections Interview Questions

MORE ...

  • Java Scanner Class
  • Java 8 Features
  • Java 9 Features
  • Java Conversion
  • Java Date
  • Java Multithreading
  • Java I/O
  • Java Serialization
  • Java Regex
  • Java AWT
  • Java Swing
  • Java Enum
  • Java Annotations
  • Java main method
  • Java Interview Q

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap