Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Javac programming Blog  > 

2021-11-13 13:06
DefinitionSyntaxExampleOutputFeature TimelineWhat is Switch Expression in Java ? Switch Expression is a new feature introduced in Java 12, which allows developers to use switch statements… Read More
2021-09-11 09:03
IntroductionSyntaxExamplesMethodsReferencesIt’s now possible to create multi-line String literal without the need to concatenate strings on line breaks. This makes text blocks a useful… Read More
2021-07-08 14:08
IntroductionObjectiveExamplesOverridingSummaryWhat is Default Configuration in a Spring Boot Application ? Default configuration in Spring Boot refers to the set of configurations that Sp… Read More
Convert Array To Stream In Java
2021-05-17 06:44
To convert an Array to a Stream in a Java program, you can follow these steps: Here’s an example program that converts an array of integers to a stream and prints the stream elements:… Read More
2021-03-03 04:46
What is Record in Java ? Record in Java is a new kind of type declaration which has a concise syntax for defining immutable data-only classes. Purpose: Record was introduced in Java… Read More
2021-01-07 07:30
What is Actuator in Spring Boot ? Spring Boot Actuator is a set of tools and endpoints that allow developers to monitor and manage their Spring Boot applications. It provides a variety… Read More
2020-10-06 09:17
This article explains the concept of reactive programming and shows how to implement it in Java using Reactor Framework with example. Reactive programming is a programming paradigm that i… Read More
2020-05-19 10:04
This example demonstrates the use of functional programming in Java, using the functional features introduced in Java 8, such as streams and lambda expressions, to write clean and concise co… Read More
2020-04-04 13:00
This tutorial explains what is a Functional Interface in Java and how to implement it using lambda expression. This example demonstrates how functional interfaces can be used to pass beha… Read More
2018-07-14 10:18
LinkedList in Java In Java, LinkedList is a class that represents a sequence of elements. Each element in the LinkedList is represented by a node object, which has a reference to the next… Read More
2017-07-08 13:58
This Java article explains how to show SQL statements or queries generated by JPA or Hibernate in the Spring Boot Application logs. For logging SQL statements generated by Spring Data JPA… Read More
2017-02-25 17:40
Before you can use Realm in your application, you must initialize it. This only has to be done once using method Realm.init(context); You must provide an Android context. A good place to in… Read More
2015-01-10 14:34
By Default JavaScript is disabled in a WebView. You can enable it through the WebSettings attached to your WebView. You can retrieve WebSettings with getSettings(), then enable JavaScript wi… Read More
2015-01-01 13:26
Android WebView is an extension of View class that allows you to display web pages as a part of your activity layout. If you want to build a web application or just a web page as a part of a… Read More
2011-09-01 14:54
new String("test").equals("test") // --> true new String("test") == "test" // --> false new String("test") == new String("test") // --> false "test" == "test" // -->… Read More
2011-08-25 10:11
import java.util.Deque; import java.util.Iterator; import java.util.LinkedList; public class DequeExample { public static void main(String[] args) { Deque deque = new LinkedLis… Read More
2011-08-10 15:44
import java.util.Arrays; /** * Algorithm * * 1] Compare each pair of adjacent elements from beginning * of an array and, if they are in reversed order, swap them. * * 2] If at least o… Read More
2011-07-20 09:31
HashMap is a non-synchronized collection class. If we need to perform thread-safe operations on it then we must need to synchronize it explicitly. Iterator should be used in a synchronized b… Read More
2011-07-01 07:56
Since JDK 1.6, Java developers are able to access network card detail via NetworkInterface class. In this example, we show you how to get the localhost MAC address in Java. import java.net.I… Read More
2011-06-15 07:40
public enum UserStatus { PENDING("P"), ACTIVE("A"), INACTIVE("I"), DELETED("D"); private String statusCode; private UserStatus(String s) { statusCode = s; } pu… Read More

Share the post

Javac

×

Subscribe to Javac

Get updates delivered right to your inbox!

Thank you for your subscription

×