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

Difference between Static and Dynamic Dispatch in Java

Last Updated: June 2, 2024 by Chaitanya Singh | Filed Under: java

In Java, when we call a method inside a program, the method call is resolved either at the compile time or during runtime, which is… [Read More]

Tags: Java-OOPs

Nested or Inner interfaces in Java

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

An interface which is declared inside another interface or class is called nested interface. They are also known as inner interface. Since nested interface cannot… [Read More]

Tags: Java-OOPs

Tag or marker interfaces in Java

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

An empty interface is known as tag or marker interface. For example Serializable, EventListener, Remote(java.rmi.Remote) are tag interfaces, there are few other tag interfaces as… [Read More]

Tags: Java-OOPs

Cloneable Interface in Java – Object Cloning

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

In this post we are going to discuss about Object cloning with the help of examples. As the name suggests, object cloning is a process… [Read More]

Tags: Java-OOPs

Final method parameters in java

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

In the last tutorial we discussed about final keyword. In this post we are gonna discuss about final method parameters. You must have seen the… [Read More]

Tags: Java-OOPs

Super keyword in java with example

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

The super keyword refers to the objects of immediate parent class. Before learning super keyword you must have the knowledge of inheritance in Java so… [Read More]

Tags: Java-OOPs

Final Keyword In Java – Final variable, Method and Class

Last Updated: November 5, 2022 by Chaitanya Singh | Filed Under: java

In this tutorial we will learn the usage of final keyword. The final keyword can be used for variables, methods and classes. We will cover… [Read More]

Tags: Java-OOPs

Java – parameterized constructor with example

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

A Constructor with arguments(or you can say parameters) is known as Parameterized constructor. As we discussed in the Java Constructor tutorial that a constructor is… [Read More]

Tags: Java-OOPs

Java – Default constructor with example

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

If you don’t implement any constructor in your class, the Java compiler inserts default constructor into your code on your behalf. You will not see… [Read More]

Tags: Java-OOPs

Abstract method in Java with examples

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

A method without body (no implementation) is known as abstract method. A method must always be declared in an abstract class, or in other words… [Read More]

Tags: Java-OOPs

Exception handling in Method overriding with example

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

In the last post we discussed about method overriding. In this post we will see how to do exception handling for overriding and overridden methods…. [Read More]

Tags: Java-OOPs

Difference between method Overloading and Overriding in java

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

In this tutorial we will discuss the difference between overloading and overriding in Java. If you are new to these terms then refer the following… [Read More]

Tags: Java-OOPs

Method overriding in java with example

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

Declaring a method in sub class which is already present in parent class is known as method overriding. Overriding is done so that a child… [Read More]

Tags: Java-OOPs

Java – Constructor in Interface?

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

This is a most frequently asked java interview question. The answer is No, interface cannot have constructors. In this post we will discuss why constructors… [Read More]

Tags: Java-OOPs

Java – Constructor Chaining with example

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

Calling a constructor from the another constructor of same class is known as Constructor chaining. The real purpose of Constructor Chaining is that you can… [Read More]

Tags: Java-OOPs

  • 1
  • 2
  • 3
  • Next Page »

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