Programming

Java long to String — step-by-step Programming tutorial on Progressive Robot

Java long to String

URL: https://www.progressiverobot.com/java-long-to-string/ Today we will see different ways to convert long to string in java. Java long to string conversion can be done in many ways, we will go through them one by one with example code snippets. Java Long to String !java long to string Let's look at different code snippets for java long […]

Read more
How To Build and Install Go Programs — step-by-step Programming tutorial on Progressive Robot

How To Build and Install Go Programs

In Go, distributing or deploying your application requires you to build your code into a shareable binary executable. To do this, you can use the Go toolchain to build and install your program. In this tutorial, you will use the Go toolchain to run, build, and install a sample Hello, World! program, allowing you to use, distribute, and deploy future applications effectively.

Read more
Composition vs Inheritance — step-by-step Programming tutorial on Progressive Robot

Composition vs Inheritance

Composition vs Inheritance is one of the frequently asked interview questions. You must have also heard to use Composition over Inheritance. Composition vs Inheritance Both composition and inheritance are [object-oriented programming concepts](/community/tutorials/oops-concepts-java-example). They are not tied up with any specific programming language such as Java. Before we compare composition over inheritance programmatically, let's have a […]

Read more
Массивы и срезы в Go — step-by-step Programming tutorial on Progressive Robot

Массивы и срезы в Go

В Go массивы и *срезы *представляют собой структуры данных, состоящие из упорядоченных последовательностей элементов. Эти наборы данных очень удобно использовать, когда вам требуется работать с большим количеством связанных…

Read more
How to convert Java Date into Specific TimeZone format — step-by-step Programming tutorial on Progressive Robot

How to convert Java Date into Specific TimeZone format

In the last example, we learned how to [convert Date to String in Java](/community/tutorials/convert-string-date-java). In this example, I am converting a Java Date object from one timezone to another. We will use [SimpleDateFormat](/community/tutorials/java-simpledateformat-java-date-format) class to format the Date in a specific format and we will set its timezone to print the date in a specific […]

Read more
Pyramid Pattern Programs in Java — step-by-step Programming tutorial on Progressive Robot

Pyramid Pattern Programs in Java

URL: https://www.progressiverobot.com/pyramid-pattern-programs-in-java/ Pattern programs are used a lot in interviews to understand the logical thinking abilities of the interviewee. Pyramid patterns are very popular and once we get the logic on the way it's created, writing code to achieve the same is an easy task. Pyramid Pattern Programs in Java !Pyramid Pattern Programs in Java […]

Read more
How to Use Go Modules — step-by-step Programming tutorial on Progressive Robot

How to Use Go Modules

A Go module commonly consists of one project or library and contains a collection of Go packages that are then released together. With Go modules, you can put code where you want and specify dependencies for each module.

Read more
How To Construct For Loops in Go — step-by-step Programming tutorial on Progressive Robot

How To Construct For Loops in Go

In the Go programming language, a `for` loop implements the repeated execution of code based on a loop counter or loop variable. In this tutorial, you will learn how Go’s `for` loop works, including the three major variations of its use: ForClause, Condition, and RangeClause. We’ll start by showing how to create different types of `for` loops, followed by how to loop through sequential data types in Go. We’ll end by explaining how to use nested loops.

Read more
CHAT