Java

Java Keywords

Java Keywords

Java keywords are the reserved words that are used by the Java compiler. These keywords have special meaning to the Java compiler. The reserved keywords help us in writing code and help the compiler in….

Encapsulation In Java

Encapsulation in Java

Encapsulation in Java is achieved by private variables and getter-setter methods. Encapsulation provides a loosely coupled, reusable, secure, and better access-controlled class implementation.

History of Java

Java is an object-oriented programming language. Java was developed by James Gosling and colleagues at Sun Microsystems in the 1990s. History of Java Java was started as a project called “Oak” by James Gosling in….

Java 13

Java 13 Features

Java 13 was released for production use on 17th September 2019. There are not a lot of developer-specific features in Java 13 because of the 6-month release cycle. Java 13 Features Some of the important….

Abstraction

What is Abstraction in OOPS?

Abstraction is one of the core concepts of Object-Oriented Programming. Abstraction defines a model to create an application component. The implementation of abstraction depends on the language-specific features and processes. 1. What is Abstraction? Abstraction….

What Is Java

What is Java Programming Language?

What is Java? Java is an Object-Oriented Programming Language. It was first released by Sun Microsystems in 1995. Oracle acquired Sun Microsystems in 2010 and now maintains the release and support of Java programming language…..

Check for Substring in an Array – Java, Python, and Swift

In this quick tutorial, we’ll learn how to quickly search a part of a string in an Array. We’ll be demonstrating the examples in Java, Python, and Swift. The straightforward way to check whether a….

LRU Cache Java

LRU Cache Implementation in Java

What is LRU Cache? LRU Cache stands for Least Recently Used Cache. The size of the cache is fixed and it supports get() and put() operations. When the cache is full, the put() operation removes….

System.arraycopy()

Java System.arraycopy() Method Examples

Java System.arraycopy() is a native static method to copy elements from the source array to the destination array. System.arraycopy() Method Arguments The System.arraycopy() method signature is: public static native void arraycopy(Object src, int srcPos, Object….

Shuffle Array Elements

How to Shuffle an Array in Java

There are two ways to shuffle an array in Java. Collections.shuffle() Method Random Class 1. Shuffle Array Elements using Collections Class We can create a list from the array and then use the Collections class….

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages