Category: core java

How to find max and min in array in java Using Scanner Class

In java there is no any built-in functions for finding minimum and maximum values of an array, and to find […]

3 Basic Star Patterns In Java: Right Triangle, Pyramid, Left Traingle

1. Right Triangle Pattern In Java Output: 2. Pyramid Pattern In Java Output: 3. Left Triangle Pattern In Java Output: […]

Basic Java Programs Examples With Output – Technical Speaks

#1. How to Take Integer Input From User In Java Using Scanner Class?? Very simple basic java program through which […]

What is Interface In Java and What are its Uses? Example with Program

An interface in Java is a blueprint of a class. which contains static constants and abstract methods. No concrete method […]

Java Scanner Class(User Input) with Example

What is a Scanner Class?? We can define a Scanner Class as Java user Input. So basically it means when […]

This, Super and Final keywords in Java with Examples | Technical Speaks

In java this is a reference variable that refers to the current object. Usage of this keyword in java: 1. […]

What is encapsulation in java | Java Encapsultion | Getters and Setters

Java Encapsulation Encapsulation is defined as the wrapping up of data under a single unit.Example: A capsule which is mixed […]

Abstraction | Java Abstraction OOPs | Abstract Class and Method

Java Abstraction — Abstraction in JAVA “shows” only the essential attributes and “hides” unnecessary details of the object from the […]

What is Polymorphism in Java | Java Polymorphism | Polymorphism

Java Polymorphism Polymorphism is one of the most important concept in OOPS and also It is beneficial for any other […]

What is Inheritance in Java? Java Inheritance types | Inheritance in Java Example

Inheritance can be defined as the process where one class acquires the properties of another class. Properties – Methods and […]