Programming

Java i18n - Internationalization in Java — step-by-step Programming tutorial on Progressive Robot

Java i18n – Internationalization in Java

URL: https://www.progressiverobot.com/java-i18n-internationalization-in-java/ Internationalization in Java or Java i18n is a very important feature. Java provides internationalization (i18n) support through resource bundles. Internationalization in Java For making your application support different locales, we need to create locale specific properties file. The file names follow the pattern of bundle name with language code and country code, for […]

Read more
Установка Go и настройка локальной среды программирования в macOS — step-by-step Programming tutorial on Progressive Robot

Установка Go и настройка локальной среды программирования в macOS

Go — это язык программирования, созданный Google в результате разочарования в других языках. Разработчикам постоянно приходилось выбирать между эффективным языком программирования с очень длительным временем компиляции и удобным языком программирования, не…

Read more
Entendendo os tipos de dados em Go — step-by-step Programming tutorial on Progressive Robot

Entendendo os tipos de dados em Go

Os tipos de dados especificam os tipos de valores que variáveis específicas armazenarão quando estiver escrevendo um programa. O tipo de dados também determina quais operações podem ser realizadas nos dados. Neste artigo, vamos ver os tipos de dados importantes nativos para…

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

Abstract Class in Java

Abstract class in Java is similar to interface except that it can contain default method implementation. An abstract class can have an abstract method without body and it can have methods with implementation also. abstract keyword is used to create a abstract class and method. Abstract class in java can't be instantiated. An abstract class […]

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
How to Convert String to Array in Java — step-by-step Programming tutorial on Progressive Robot

How to Convert String to Array in Java

URL: https://www.progressiverobot.com/string-to-array-java/ Sometimes we have to split String to array based on delimiters or some regular expression. For example, reading a CSV file line and parsing them to get all the data to a String array. In this tutorial, we will learn how to convert String to Array in Java program. String to Array in […]

Read more
Como usar tags struct em Go — step-by-step Programming tutorial on Progressive Robot

Como usar tags struct em Go

As estruturas, ou structs, são usadas para coletar vários fragmentos de informações em uma unidade. Essas coletas de informações são usadas para descrever conceitos de nível superior, como um Address…

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

State Design Pattern in Java

URL: https://www.progressiverobot.com/state-design-pattern-java/ State design pattern is one of the behavioral design pattern. State design pattern is used when an Object change its behavior based on its internal state. State Design Pattern ![state design pattern, state design pattern in java, state pattern](images/state-design-pattern-java-section-1.png) If we have to change the behavior of an object based on its state, […]

Read more
Mockito @InjectMocks - Mocks Dependency Injection — step-by-step Programming tutorial on Progressive Robot

Mockito @InjectMocks – Mocks Dependency Injection

URL: https://www.progressiverobot.com/mockito-injectmocks-mocks-dependency-injection/ Mockito @InjectMocks annotations allow us to inject mocked dependencies in the annotated class mocked object. This is useful when we have external dependencies in the class we want to mock. We can specify the mock objects to be injected using [@Mock](/community/tutorials/mockito-mock-examples) or [@Spy](/community/tutorials/mockito-spy-partial-mock) annotations. Mockito @InjectMocks Mockito tries to inject mocked dependencies using […]

Read more
CHAT