Programming

How to open a File in Java — step-by-step Programming tutorial on Progressive Robot

How to open a File in Java

URL: https://www.progressiverobot.com/java-open-file/ Sometimes we have to open a file in java program. java.awt.Desktop can be used to open a file in java. Desktop implementation is platform dependent, so first, we should check if the operating system supports Desktop or not. This class looks for the associated application registered to the current platform to open a […]

Read more
Написание условных выражений в Go — step-by-step Programming tutorial on Progressive Robot

Написание условных выражений в Go

Условные выражения являются частью каждого языка программирования. Условные выражения позволяют создавать код, который будет или не будет выполняться в зависимости от условий в программе на момент запуска. Когда мы полностью исполняем каждое выражение программы, мы не просим,…

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

ConcurrentHashMap in Java

If you are a Java Developer, I am sure that you must be aware of ConcurrentModificationException that comes when you want to modify the Collection object while using iterator to go through with all its element.

Read more
Understanding Arrays and Slices in Go — step-by-step Programming tutorial on Progressive Robot

Understanding Arrays and Slices in Go

This article will cover the array and slice data structures in the Go Programming language, which will provide you with the necessary information to make the appropriate choice when choosing between them. You’ll also review the most common ways to declare and work with both arrays and slices. The tutorial will first provide a description of arrays and how to manipulate them, followed by an explanation of slices and how they differ.

Read more
DAO Design Pattern — step-by-step Programming tutorial on Progressive Robot

DAO Design Pattern

DAO stands for Data Access Object. DAO [Design Pattern](/community/tutorials/java-design-patterns-example-tutorial) is used to separate the data persistence logic in a separate layer. This way, the service remains completely in dark about how the low-level operations to access the database is done. This is known as the principle of Separation of Logic. DAO Design Pattern With DAO […]

Read more
"The method X is ambiguous for the type Y" Java ambiguous method call null error — step-by-step Programming tutorial on Progressive Robot

“The method X is ambiguous for the type Y” Java ambiguous method call null error

URL: https://www.progressiverobot.com/the-method-is-ambiguous-for-the-type-java-ambiguous-method-call-null-error/ If you are reading this, chances are you got The method X is ambiguous for the type Y error when compiling a java program in terminal or in any Java IDE. Java ambiguous method call Here we are going to explain why java ambiguous method call error comes with some examples. This ambiguous […]

Read more
Java IO Tutorial — step-by-step Programming tutorial on Progressive Robot

Java IO Tutorial

URL: https://www.progressiverobot.com/java-io-tutorial/ Java provides several classes in java.io package to work with text, stream data, and file system. I have provided several examples on Java Files and Java IO recently. This post is an index of all Java IO articles. Java IO ![Java IO](images/java-io-tutorial-section-1.png) [How to Create New File in Java](/community/tutorials/java-create-new-file) In this post, you […]

Read more
Tower of Hanoi - Algorithm and Implementation in Java — step-by-step Programming tutorial on Progressive Robot

Tower of Hanoi – Algorithm and Implementation in Java

URL: https://www.progressiverobot.com/tower-of-hanoi/ The Tower of Hanoi is a classic problem in the world of programming. The problem setup consists of three rods/pegs and n disks. The disks can be moved from one peg to another. The n disks are of different sizes. Initially all the disks are stacked on the first tower. The disks are […]

Read more
CHAT