Java- Convert a Degree to Clock Time

Write a Java program to convert a degree to the clock time with hour: minute format. Assume if… Degree 0 […]

Continue reading...

Shortcut key to evaluate expression/variable in IntelliJ IDEA

Alt + F8 is the shortcut key to evaluate expression/variable in the IntelliJ IDEA. You can only evaluate a expression/variable […] Continue reading »

Get all available Currency code and name in Java

In Java, getAvailableCurrencies() is a static method of Currency class that returns all available currencies. Currency class is inside the […] Continue reading »

Java 8- Find the Average of List of Integers

In Java 8, the average() method of the DoubleStream interface calculate the average of the list of integers. 1. Stream […] Continue reading »

How to create custom Scrollbar in CSS

Using CSS properties, you can customize the scrollbar of your website. This short article will explain, how to create a […] Continue reading »

Eclipse/STS – Optimize/Remove unused imports shortcut keys

Ctrl + Shift + O is the shortcut key to optimize or remove the unused import from your code in […] Continue reading »

IntelliJ IDEA– Remove/Optimize unused imports shortcut keys

In IntelliJ IDEA, Ctrl + Alt + O is the shortcut keys to remove/optimize unused imports for Windows/Linux operating system, […] Continue reading »

Different ways to iterate/loop a List of Integers in Java

In Java, you can iterate or loop a List object in different ways. In this short example, you will find […] Continue reading »

Java- Find the element in the List having maximum value

In Java 8, Stream API’s max method returns the maximum element of this stream according to the provided Comparator and […] Continue reading »

Java- Find all Capital Letters in the String

In this short tutorial, we’ll find all the capital letters in the given String using Java. Character.isUpperCase(char ch) returns true […] Continue reading »

IntelliJ IDEA – Find file containing text shortcut

In IntelliJ IDEA, Ctrl + Shift + F is the shortcut key to find the file containing any text like […] Continue reading »

Spring Boot Cookies Example

In this article, we’ll explore how to use cookies in the Spring Boot application. A cookie is a small piece […] Continue reading »

1 12 13 14 15 16 44