Mindblown: a blog about philosophy.

  • Java Access Modifiers

    In this tutorial, we will learn about the Java Access Modifier, its types, and how to use them with the help of examples. What are Access Modifiers? In Java, access modifiers are used to set the accessibility (visibility) of classes, interfaces, variables, methods, constructors, data members, and the setter methods. For example, In the above…

  • Java Strings

    In this tutorial, we will learn about Java strings, how to create them, and various methods of the String class with the help of examples. In Java, a string is a sequence of characters. For example, “hello” is a string containing a sequence of characters ‘h’, ‘e’, ‘l’, ‘l’, and ‘o’. We use double quotes to represent a string in Java. For example, Here,…

  • Java Constructors

    In this tutorial, we will learn about Java constructors, their types, and how to use them with the help of examples. What is a Constructor? A constructor in Java is similar to a method that is invoked when an object of the class is created. Unlike Java methods, a constructor has the same name as that…

  • Method Overloading

    In this article, you’ll learn about method overloading and how you can achieve it in Java with the help of examples. In Java, two or more methods may have the same name if they differ in parameters (different number of parameters, different types of parameters, or both). These methods are called overloaded methods and this feature is…

  • Java Methods

    In this tutorial, we will learn about Java methods, how to define methods, and how to use methods in Java programs with the help of examples. Java Methods A method is a block of code that performs a specific task. Suppose you need to create a program to create a circle and color it. You…

  • Class and Objects

    In this tutorial, you will learn about the concept of classes and objects in Java with the help of examples. Java is an object-oriented programming language. The core concept of the object-oriented approach is to break complex problems into smaller objects. An object is any entity that has a state and behavior. For example, a bicycle is an object. It…

  • Java Copy Arrays

    In this tutorial, you will learn about different ways you can use to copy arrays (both one dimensional and two-dimensional) in Java with the help of examples. In Java, we can copy one array into another. There are several techniques you can use to copy arrays in Java. 1. Copying Arrays Using Assignment Operator Let’s…

  • Multidimensional Arrays

    In this tutorial, we will learn about the Java multidimensional array using 2-dimensional arrays and 3-dimensional arrays with the help of examples. Before we learn about the multidimensional array, make sure you know about Java array. A multidimensional array is an array of arrays. Each element of a multidimensional array is an array itself. For example,…

  • Java Arrays

    In this tutorial, we will learn to work with arrays in Java. We will learn to declare, initialize, and access array elements with the help of examples. An array is a collection of similar types of data. For example, if we want to store the names of 100 people then we can create an array…

  • Java continue Statement

    In this tutorial, you will learn about the continue statement and labeled continue statement in Java with the help of examples. While working with loops, sometimes you might want to skip some statements or terminate the loop. In such cases, break and continue statements are used. To learn about the break statement, visit Java break. Here, we will learn about the continue statement. Java…

Got any book recommendations?