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 Coder Sathi

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 Coder Sathi

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 Coder Sathi
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 Coder Sathi
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 Coder Sathi
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 Coder Sathi
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 Coder Sathi
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 Coder Sathi
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 Coder Sathi

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 Coder Sathi
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

  • Java String Tutorial
  • Java String Best Practices and Common Pitfalls
  • Java 8+ String Enhancements: New Methods and Best Practices
  • Java String Security: Handling Passwords, SQL, and User Input
  • Java Special Characters: Escaping, Unicode, and Text Blocks
  • Java Regex Tutorial: Pattern, Matcher, and Practical Examples
  • Java String Manipulation: Replace, Split, and Join
  • Java String Performance: Optimize Concatenation with StringBuilder
  • Java String Formatting Guide: printf(), String.format(), and More
  • Java String Comparison: equals(), ==, and compareTo() Explained
  • Privacy Policy
  • About CoderSathi.com
  • Contact
Copyright © 2025
Next Page »
  • Tutorial
    • Java Tutorial
    • Swing Tutorial
    • JDBC Tutorial
    • Java String Tutorial
    • Servlet and JSP Tutorial
  • Mongo DB
  • AWS
  • DevOps
  • Linux
  • Git