Programming

Java JSON Example — step-by-step Programming tutorial on Progressive Robot

Java JSON Example

URL: https://www.progressiverobot.com/java-json-example/ Welcome to the Java JSON Example Tutorial. JSON (JavaScript Object Notation) is text-based lightweight technology for generating human readable formatted data. JSON represent object data in the form of key-value pairs. We can have nested JSON objects too and it provides an easy way to represent arrays also. Java JSON ![java json, java […]

Read more
Java File Path, Absolute Path and Canonical Path — step-by-step Programming tutorial on Progressive Robot

Java File Path, Absolute Path and Canonical Path

URL: https://www.progressiverobot.com/java-file-path-absolute-canonical/ Today we will look into the Java file path. Java File path can be abstract, absolute or canonical. Java File Path java.io.File contains three methods for determining the file path, we will explore them in this tutorial. getPath(): This file path method returns the abstract pathname as String. If String pathname is used […]

Read more
2D Vectors in C++ - A Practical Guide 2D Vectors — step-by-step Programming tutorial on Progressive Robot

2D Vectors in C++ – A Practical Guide 2D Vectors

Also referred to as vector of vectors, 2D vectors in C++ form the basis of creating matrices, tables, or any other structures, dynamically. Before arriving on the topic of 2D vectors in C++, it is advised to go through the tutorial of using single-dimensional [vectors in C++](/community/tutorials/vectors-in-c-plus-plus). Including the Vector header file It would be […]

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

JUnit5 Tutorial

URL: https://www.progressiverobot.com/junit5-tutorial/ JUnit5 Tutorial In this Junit tutorial, we will introduce basics of JUnit5 and its new features using examples. In Java world, JUnit is one of the popular framework used to implement unit tests against java code. JUnit primarily helps developers to test their code on the [JVM](/community/tutorials/java-jvm-memory-model-memory-management-in-java) by themselves. JUnit5 Architecture JUnit Platform […]

Read more
How To Convert Data Types in Ruby — step-by-step Programming tutorial on Progressive Robot

How To Convert Data Types in Ruby

Ruby provides several methods for converting values from one data type to another. In this tutorial, you’ll convert strings to numbers, objects to strings, strings to arrays, and convert between strings and symbols.

Read more
How To Use Templates in Go — step-by-step Programming tutorial on Progressive Robot

How To Use Templates in Go

Do you need to present some data in well-formatted output, textual reports, or HTML pages? You can do that with Go templates. Any Go program can use the `text/template` or `html/template` package—both included in the Go standard library—to present data neatly. This tutorial will show you how to use both template packages.

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

Relational Operators in Java

URL: https://www.progressiverobot.com/relational-operators-in-java/ Relational Operators in Java are used to comparing two variables for equality, non-equality, greater than, less than, etc. Java relational operator always returns a boolean value – true or false. Relational Operators in Java Java has 6 relational operators. \== is the equality operator. This returns true if both the operands are referring […]

Read more
Compare Functional Programming, Imperative Programming and Object Oriented Programming — step-by-step Programming tutorial on Progressive Robot

Compare Functional Programming, Imperative Programming and Object Oriented Programming

As Oracle Corporation has introduced some Functional constructs in Java SE 8, now-a-days most of the Interviewers are interested to ask some questions about Functional Programming. As a Java/Groovy/Scala Developer or any Functional Programming Developer, we should learn the following questions and answers to clear interviews: … And More What is Functional Programming? What are […]

Read more
Priority Queue Java — step-by-step Programming tutorial on Progressive Robot

Priority Queue Java

URL: https://www.progressiverobot.com/priority-queue-java/ Every now and then we need to process items of a queue in a particular order. Priority queue is a Data Structure that does the job. Java priority queue is different from “normal” [queue](/community/tutorials/java-queue). Instead of “First-In-First-Out”, it retrieves the items in order of their priority. Priority Queue Java The java.util.PriorityQueue class, provides […]

Read more
How to use the string find() in C++ — step-by-step Programming tutorial on Progressive Robot

How to use the string find() in C++

URL: https://www.progressiverobot.com/string-find-c-plus-plus/ In this article, we'll take a look at how we can use String find() in C++. If we want to check whether a string contains another string, the std::string.find() method is very useful. Let's understand how we can use this method, with some examples! Syntax of String find() in C++ This method belongs […]

Read more
CHAT