Create an Array in Java
In this tutorial, we will learn how to create an array in the Java programming language. An array is a collection of elements. We specify the size of the array at runtime. All the array
Java Tutorials
In this tutorial, we will learn how to create an array in the Java programming language. An array is a collection of elements. We specify the size of the array at runtime. All the array
Regular Expression in Java A regular expression, regex is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually, this pattern is then used by string searching algorithms for “find” or “find and replace” operations on strings. More at: https://en.wikipedia.org/wiki/Regular_expression Sample Program In Java language, you can […]
Exception handling in Java In this post, we will discuss single exception handling in Java. Errors occur in java programs as in most things in real life. Also, when an error occurs in a running Java program we say that an exception has occurred. Furthermore, when this happens an Exception object is created and “thrown”. […]
Java Platform Overview In this tutorial, we will discuss the Java platform. Java Technology consists of the Java Programming Language and the Java Platform. The Java programming language is a high-level, object-oriented language. Java Platform A platform is an environment in which Java applications run/execute. There are two types of platforms hardware-based and software-based. Java […]
The Java main method In this tutorial, we will discuss the Java main method. In Java, you need to have a method named main in at least one class if we are developing a standalone Java application. A Java program needs to start its execution somewhere. A Java application starts by executing the main method […]
Armstrong Number Java Program In this post, you will discuss the Armstrong number Java program. We will try to write the Java program that checks whether the number is an Armstrong number or not. First of all, an Armstrong number is an n-digit number that is equal to the sum of the nth powers of […]