Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
How to Get Random Elements from Java HashSet?
Unlike List classes, the HashSet class does not provide any methods using which we can get the elements using their index. It makes it difficult to get random elements fro...
Read More
Java
Technical Scripter
Java-Collections
Java Programs
java-hashset
Picked
Technical Scripter 2020
How to Copy Map Content to Another Hashtable in Java?
The Hashtable class implements a hash table, which maps keys to values. Any non-null object can be used as a key or as a value. To successfully store and retrieve objects ...
Read More
Java
Technical Scripter
Java-Collections
Java Programs
java-map
Java-HashTable
Picked
Technical Scripter 2020
Java Program to Demonstrate the Double-Check Locking For Singleton Class
One of the key challenges faced by junior developers is the way to keep Singleton class as Singleton i.e. the way to prevent multiple instances of Singleton class. Double ...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Count Number of Vowels in a String
In java, the string is a sequence of characters and char is a single digit used to store variables. The char uses 2 bytes in java. In java, BufferedReader and InputStreamR...
Read More
Java
Technical Scripter
Java Programs
Picked
Java-String-Programs
Technical Scripter 2020
Java Program to Multiply Corresponding Elements of Two Lists
Multiplying two corresponding elements implies multiplying the first element of the one list with the first element of another list and so on with the second element till ...
Read More
Java
Java-Collections
Java Programs
java-list
Picked
Top 6 Extensions for Web Developers in VSCode
Visual Studio Code is the most used code editor amongst developers these days. We know that VSCode provides us with many cool features that could enhance our code and coul...
Read More
Technical Scripter
Web Technologies
Technical Scripter 2020
Java Program to Demonstrate the Nested Initialization For Singleton Class
A Singleton Class is capable of producing just a single instance. Every Singleton class has a getInstance method which returns its object. When the getInstance method is c...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Remove Duplicate Elements From the Array
An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together. For simplicity, we can think of an ...
Read More
Java
Java Programs
Picked
Java-Array-Programs
Converting ArrayList to HashMap using Method Reference in Java 8
Data Structures are a boon to everyone who codes. But is there any way to convert a Data Structure into another? Well, it seems that there is! In this article, we will be ...
Read More
Java
Java-Collections
Java Programs
Java-ArrayList
Java-HashMap
Picked
Java 8
How to Get Random Elements From the Vector in Java?
Vector in java is a part of Java's collections framework. Vector is a dynamic array of objects, i.e., the size of the vector can be modified as per the requirement. Vector...
Read More
Java
Technical Scripter
Java-Collections
Java Programs
Picked
Java-Vector
Technical Scripter 2020
Iterate Through Elements of LinkedHashSet in Java
The LinkedHashSet is an ordered version of HashSet that maintains a doubly-linked List across all elements. When the iteration order is needed to be maintained this class ...
Read More
Java
Technical Scripter
Java-Collections
Java Programs
Picked
java-LinkedHashSet
Technical Scripter 2020
Java Program to Multiply two Floating-Point Numbers
The float class is a wrapper class for the primitive type float which contains several methods to effectively deal with a float value like converting it to a string repres...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Display Transpose Matrix
Transpose of a matrix is obtained by changing rows to columns and columns to rows. In other words, transpose of A[][] is obtained by changing A[i][j] to A[j][i].Approach:C...
Read More
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java Program to Get the Last Access Time of a File
Every file which stores a lot of data, also has its own set of data ( known as metadata) which can be used to get the properties of that file. Such data types are called a...
Read More
Java
Technical Scripter
Java Programs
Picked
Java-Files
Technical Scripter 2020
How to Convert TreeMap to an ArrayList in Java?
TreeMap is a part of the Java Collection framework. Java TreeMap contains values based on the key. It implements the NavigableMap interface and extends AbstractMap class. ...
Read More
Java
Technical Scripter
Java-Collections
Java Programs
Java-ArrayList
java-TreeMap
Picked
Technical Scripter 2020
1
...
6745
6746
6747
...
11375