Programming

How to Merge Two Lists in Java? — step-by-step Programming tutorial on Progressive Robot

How to Merge Two Lists in Java?

URL: https://www.progressiverobot.com/merge-two-lists-in-java/ Merging two lists in Java is often a useful operation. These lists can be ArrayLists or LinkedLists. How to Merge Two Lists in Java There are multiple ways we can merge two lists in Java. Let's explore some of the straightforward ones to get your job done! 1. The addAll() method to merge […]

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

Java String Copy

URL: https://www.progressiverobot.com/java-string-copy/ Sometime back I was asked how to copy a String in java. As we know that [String](/community/tutorials/java-string) is an [immutable](/community/tutorials/how-to-create-immutable-class-in-java) object, so we can just assign one string to another for copying it. If the original string value will change, it will not change the value of new String because of immutability. Java […]

Read more
Java 8 Stream - Java Stream — step-by-step Programming tutorial on Progressive Robot

Java 8 Stream – Java Stream

URL: https://www.progressiverobot.com/java-8-stream/ Welcome to Java 8 Stream API tutorial. In the last few java 8 posts, we looked into [Java 8 Interface Changes](/community/tutorials/java-8-interface-changes-static-method-default-method "Java 8 Interface Changes – static methods, default methods, functional Interfaces") and [Functional Interfaces and Lambda Expressions](/community/tutorials/java-8-functional-interfaces "Java 8 Lambda Expressions and Functional Interfaces Example Tutorial"). Today we will look into one […]

Read more
Command Line Arguments in Java — step-by-step Programming tutorial on Progressive Robot

Command Line Arguments in Java

Command-line arguments in Java are used to pass arguments to the main program. If you look at the [Java main method](/community/tutorials/public-static-void-main-string-args-java-main-method) syntax, it accepts [String array](/community/tutorials/java-string-array) as an argument. When we pass command-line arguments, they are treated as strings and passed to the main function in the string array argument. The arguments have to be […]

Read more
How To Create Artisan Commands To Manage Database Records in Laravel — step-by-step Programming tutorial on Progressive Robot

How To Create Artisan Commands To Manage Database Records in Laravel

If you followed along with this series so far, your database tables should be all set by now. However, you still need to implement a way to let users insert new entries in the links table. In this guide, we’ll create Artisan commands to manage database records on your application. At the end, you’ll be able to create, list, and delete links in the database using command-line Artisan commands.

Read more
Arrow operator in C - All you need to know! — step-by-step Programming tutorial on Progressive Robot

Arrow operator in C – All you need to know!

Hey, folks! In this article, we will be focusing on Arrow operator in C. C language comprises of various operators to deal and manipulate the data records. One such operator is the Arrow operator. So, let us begin! Working of Arrow operator in C? In C, this operator enables the programmer to access the data […]

Read more
Log4j Levels Example - Order, Priority, Custom Filters — step-by-step Programming tutorial on Progressive Robot

Log4j Levels Example – Order, Priority, Custom Filters

URL: https://www.progressiverobot.com/log4j-levels-example-order-priority-custom-filters/ If you have used log4j, you will notice that there are many methods to log messages. For example: logger.trace("My Log message"); logger.debug("My Log message"); logger.info("My Log message"); Actually they corresponds to log4j levels. Log4j Levels Log4j provides many logging levels. Below is the complete list. TRACE: The TRACE Level designates finer-grained informational events […]

Read more
Написание пакетов в Go — step-by-step Programming tutorial on Progressive Robot

Написание пакетов в Go

Пакет состоит из файлов Go, которые находятся в том же каталоге и имеют одинаковое выражение пакета в начале. Вы можете добавить дополнительные функции из пакетов, чтобы усложнить программы. Некоторые пакеты доступны в стандартной библиотеке Go и устанавливаются вместе с Go. Другие можно…

Read more
CHAT