Programming

Java 8 Functional Interfaces — step-by-step Programming tutorial on Progressive Robot

Java 8 Functional Interfaces

URL: https://www.progressiverobot.com/java-8-functional-interfaces/ Welcome to the Java 8 functional interfaces example tutorial. Java has always been an Object Oriented Programming language. What is means that everything in java programming revolves around Objects (except some primitive types for simplicity). We don't have only functions in java, they are part of Class and we need to use the […]

Read more
Java 15 Features — step-by-step Programming tutorial on Progressive Robot

Java 15 Features

URL: https://www.progressiverobot.com/java-15-features/ Keeping up with the six-month cycle tradition, after the release of [Java 14](/community/tutorials/java-14-features#5-text-blocks-preview) on March 17, 2020, we now have Java 15, the next non-LTS version rolling out on September 15, 2020. Java 15 Features Here's a quick look at features that are a part of Java 15: Sealed Classes (Preview) – JEP […]

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

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

Комментарии — это строки компьютерных программ, которые игнорируются компиляторами и интерпретаторами. Добавление комментариев в программы делает код более удобным для чтения людьми, поскольку комментарии обычно содержат информацию или разъяснение того, что делает каждая часть…

Read more
Java 13 Features — step-by-step Programming tutorial on Progressive Robot

Java 13 Features

URL: https://www.progressiverobot.com/java-13-features/ Java 13 was released for production use on 17th September 2019. There are not a lot of developer-specific features in Java 13 because of the 6-month release cycle. Java 13 Features Some of the important Java 13 features are: Text Blocks – JEP 355 New Methods in String Class for Text Blocks Switch […]

Read more
Mockito ArgumentCaptor, @Captor Annotation — step-by-step Programming tutorial on Progressive Robot

Mockito ArgumentCaptor, @Captor Annotation

URL: https://www.progressiverobot.com/mockito-argumentcaptor-captor-annotation/ Mockito ArgumentCaptor is used to capture arguments for mocked methods. ArgumentCaptor is used with [Mockito verify()](/community/tutorials/mockito-verify) methods to get the arguments passed when any method is called. This way, we can provide additional [JUnit assertions](/community/tutorials/junit-assertions) for our tests. Mockito ArgumentCaptor We can create ArgumentCaptor instance for any class, then its capture() method is […]

Read more
Max Heap Data Structure Implementation in Java — step-by-step Programming tutorial on Progressive Robot

Max Heap Data Structure Implementation in Java

URL: https://www.progressiverobot.com/max-heap-java/ A max heap is a complete binary tree in which the value of a node is greater than or equal to the values of its children. Max Heap data structure is useful for sorting data using heap sort. In this tutorial, we will cover everything you need to know to implement max heaps […]

Read more
Customizing Go Binaries with Build Tags — step-by-step Programming tutorial on Progressive Robot

Customizing Go Binaries with Build Tags

In Go, a build tag, or a build constraint, is an identifier added to a piece of code that determines when the file should be included in a package during the build process. This allows you to build different versions of your Go application from the same source code and to toggle between them in a fast and organized manner. In this article, you will use build tags in Go to generate different executable binaries that offer Free, Pro, and Enterprise feature sets of a sample application.

Read more
Restful Web Services Tutorial in Java — step-by-step Programming tutorial on Progressive Robot

Restful Web Services Tutorial in Java

URL: https://www.progressiverobot.com/restful-web-services-tutorial-java/ Welcome to Restful Web Services Tutorial in Java. REST is the acronym for REpresentational State Transfer. REST is an architectural style for developing applications that can be accessed over the network. REST architectural style was brought in light by Roy Fielding in his doctoral thesis in 2000. Restful Web Services Restful Web Services […]

Read more
CHAT