Skip to content
CoderSathi
  • Tutorial
    • Java Tutorial
    • Swing Tutorial
    • JDBC Tutorial
    • Java String Tutorial
    • Servlet and JSP Tutorial
  • Mongo DB
  • AWS
  • DevOps
  • Linux
  • Git

language-fundamentals

Java Varargs (Variable Arguments)

February 5, 2025February 4, 2025 by Yuba Raj Kalathoki

As a developer, you’ve likely faced scenarios where a method needs to handle an unpredictable number of arguments. Writing separate …

Read More Java Varargs (Variable Arguments)

Data Types in Java

February 3, 2025January 18, 2025 by Yuba Raj Kalathoki

Java is a strongly-typed language, meaning every variable must be declared with a data type. This ensures type safety, which …

Read More Data Types in Java

finally Block in Java

February 12, 2025July 30, 2023 by Yuba Raj Kalathoki
Finally Block in Java

The finally block in Java is a block of code that is always executed, regardless of whether an exception is …

Read More finally Block in Java

Throwing and re-throwing an Exception in Java

February 12, 2025July 30, 2023 by Yuba Raj Kalathoki
Throwing and re-throwing an Exception in Java

When an exception is thrown, it is propagated up the call stack until it is caught by a try-catch block. …

Read More Throwing and re-throwing an Exception in Java

User Defined Exception in Java

February 12, 2025July 30, 2023 by Yuba Raj Kalathoki
User Defined Exception in Java

In Java, exceptions are used to handle errors that occur during the execution of a program. There are many built-in …

Read More User Defined Exception in Java

Exception Handling Keywords in Java

February 18, 2025July 30, 2023 by Yuba Raj Kalathoki
Exception Handling Keywords in Java

Exception handling is a crucial aspect of writing robust Java applications, ensuring that programs can gracefully handle runtime errors without …

Read More Exception Handling Keywords in Java

Extends Keyword in Java: A Deep Dive into Inheritance

April 1, 2025July 29, 2023 by Yuba Raj Kalathoki
extends keyword in java

The extends keyword in Java is used to establish a class inheritance relationship. Extends keyword in Java allows a class …

Read More Extends Keyword in Java: A Deep Dive into Inheritance

Why Multiple Inheritance is not Supported in Java?

January 3, 2024July 29, 2023 by Yuba Raj Kalathoki
Why Multiple Inheritance is not Supported in Java?

Multiple inheritance is not supported in Java because it can lead to ambiguity. This is the problem of having two …

Read More Why Multiple Inheritance is not Supported in Java?

How to Create Method in Java?

March 30, 2025July 29, 2023 by Yuba Raj Kalathoki

Creating a method in Java is essential for organizing code, promoting reusability, and streamlining complex tasks. Methods act as reusable blocks …

Read More How to Create Method in Java?

ArrayIndexOutOfBoundsException in Java

September 14, 2023July 23, 2023 by Yuba Raj Kalathoki
ArrayIndexOutOfBoundsException in Java

An ArrayIndexOutOfBoundsException is a common runtime exception in Java that occurs when we try to access an element of an …

Read More ArrayIndexOutOfBoundsException in Java

Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page11 Next →
+ Load More Post

Recent Posts

  • How to Fix “Public Key Retrieval is not allowed” MySQL JDBC Error
  • Complete Guide to JaCoCo: How to Measure Java Code Coverage Accurately
  • How to Create a Google App Password: Full Step-by-Step Guide
  • How to Fix “Files Showing as Modified” in IntelliJ IDEA on macOS
  • How to Fix NoClassDefFoundError: javax/xml/bind/DatatypeConverter in Java (Java 11+)
  • How to Connect Java Application to a Remote Database Using an SSH Tunnel (with Spring Boot Examples)
  • How to Convert JSON Array to Java List (With Examples)
  • Configure CORS in Spring Cloud Gateway (WebFlux & WebMVC)
  • Java String Tutorial
  • Java String Best Practices and Common Pitfalls
  • Privacy Policy
  • About CoderSathi.com
  • Contact
Copyright © 2026
Next Page »
  • Tutorial
    • Java Tutorial
    • Swing Tutorial
    • JDBC Tutorial
    • Java String Tutorial
    • Servlet and JSP Tutorial
  • Mongo DB
  • AWS
  • DevOps
  • Linux
  • Git