Java

Java 14 Records Class — step-by-step Programming tutorial on Progressive Robot

Java 14 Records Class

URL: https://www.progressiverobot.com/java-records-class/ Java 14 introduced a new way to create classes called Records. In this tutorial, we will learn: Why do we need Java Records How to create Records and use it Overriding and extending Records classes Recommended Reading: [Java 14 Features](/community/tutorials/java-14-features) Why do we need Java Records? One of the common complaints with Java […]

Read more
Java String Array — step-by-step Programming tutorial on Progressive Robot

Java String Array

URL: https://www.progressiverobot.com/java-string-array/ Java String array is used to hold fixed number of Strings. [String](/community/tutorials/java-string) [array](/community/tutorials/java-array) is very common in [simple java programs](/community/tutorials/simple-java-programs), specially among beginners to java and to test some specific scenarios. Even [java main method](/community/tutorials/public-static-void-main-string-args-java-main-method) argument is string array – public static void main(String[] args). So today we will look into different aspects […]

Read more
Как установить Java в Ubuntu с помощью Apt-Get — step-by-step Linux tutorial on Progressive Robot

Как установить Java в Ubuntu с помощью Apt-Get

Множество других статей и программ требует установленной Java. В этой статье мы осветим процесс установки и управления различными версиями Java. Это рекомендуемый и наиболее простой вариант. В Ubuntu 12.04 и более ранних…

Read more
Logger in Java - Java Logging Example — step-by-step Programming tutorial on Progressive Robot

Logger in Java – Java Logging Example

URL: https://www.progressiverobot.com/logger-in-java-logging-example/ Today we will look into Logger in Java. Java Logger provides logging in java programming. Logger in Java ![logger in java, java logging example](images/logger-in-java-logging-example-section-1.png) Java Logging API was introduced in 1.4 and you can use java logging API to log application messages. In this java logging tutorial, we will learn basic features of […]

Read more
Observer Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Observer Design Pattern in Java

URL: https://www.progressiverobot.com/observer-design-pattern-in-java/ Observer Pattern is one of the behavioral design pattern. Observer design pattern is useful when you are interested in the state of an object and want to get notified whenever there is any change. In observer pattern, the object that watch on the state of another object are called Observer and the object […]

Read more
Serialization in Java - Java Serialization — step-by-step Programming tutorial on Progressive Robot

Serialization in Java – Java Serialization

URL: https://www.progressiverobot.com/serialization-in-java/ Serialization in Java was introduced in JDK 1.1 and it is one of the important feature of [Core Java](/community/tutorials/core-java-interview-questions-and-answers "Core Java Interview Questions and Answers"). Serialization in Java ![serialization in java, java serialization, what is serialization in java, serializable in java](images/serialization-in-java-section-1.png) Serialization in Java allows us to convert an Object to stream that […]

Read more
String to byte array, byte array to String in Java — step-by-step Programming tutorial on Progressive Robot

String to byte array, byte array to String in Java

URL: https://www.progressiverobot.com/string-byte-array-java/ Today we will learn how to convert String to byte array in java. We will also learn how to convert byte array to String in Java. String to byte array We can use String class getBytes() method to encode the string into a sequence of bytes using the platform's default charset. This method […]

Read more
Web Services Interview Questions - SOAP, RESTful — step-by-step Programming tutorial on Progressive Robot

Web Services Interview Questions – SOAP, RESTful

URL: https://www.progressiverobot.com/web-services-interview-questions-soap-restful/ Welcome to the Web Services Interview Questions with detailed answers. Recently I have written a lot about web services. How we can create SOAP and RESTful web services in Java. Web Services Interview Questions ![web services interview questions, restful web services interview questions, rest interview questions, soap interview questions](images/web-services-interview-questions-soap-restful-section-1.png) Here I am providing […]

Read more
Collections in Java - Everything You MUST Know — step-by-step Programming tutorial on Progressive Robot

Collections in Java – Everything You MUST Know

Java Collections Framework is one of the core parts of the Java programming language. Collections are used in almost every programming language. Most of the programming languages support various type of collections such as [List](/community/tutorials/java-list), [Set](/community/tutorials/java-set), [Queue](/community/tutorials/java-queue), [Stack](/community/tutorials/java-stack), etc. What is Java Collections Framework? Collections are like containers that group multiple items in a single […]

Read more
CHAT