
Scanner Class in Java: How to Take User Input (With Examples)
The Scanner class in Java is the easiest way to read input from the user. You import it from java.util and create it with…
Read the guide →Browse by topic
Topic
Short Core Java tutorials for beginners, each with code you can run. Start with user input using the Scanner class, then move to arrays, keywords like this, super and final, and classic pattern programs.

The Scanner class in Java is the easiest way to read input from the user. You import it from java.util and create it with…
Read the guide →
In Java, this refers to the current object, super refers to the parent class, and final stops something from changing. A final variable can’t…

In java there is no any built-in functions for finding minimum and maximum values of an array, and to find that we would have…

1. Right Triangle Pattern In Java Output: 2. Pyramid Pattern In Java Output: 3. Left Triangle Pattern In Java Output: Watch the video for…

Java is one of the most popular programming languages, known for its versatility, portability, and wide range of applications. Whether you’re a beginner or…

An interface in Java is a blueprint of a class. which contains static constants and abstract methods. No concrete method or we can say…
Java Encapsulation Encapsulation is defined as the wrapping up of data under a single unit.Example: A capsule which is mixed of several medicines. In…
Java Abstraction — Abstraction in JAVA “shows” only the essential attributes and “hides” unnecessary details of the object from the user.— In Java, abstraction…
Java Polymorphism Polymorphism is one of the most important concept in OOPS and also It is beneficial for any other programming languages. Made from…
Inheritance can be defined as the process where one class acquires the properties of another class. Properties – Methods and Fields… Aim: Reusability of…
Constructor can be defined as a block similar to a method, having same name as that of class name.. Example Code for Constructor: Watch…
What is a Variable? In simple words, a variable can be defined as the container which holds the value. Also, a Variable is assigned…
Page 1 of 2 · 17 articles
Get new guides by email
New SEO, WordPress and coding guides from the Technical Speaks team. Unsubscribe any time.