Programming

Cómo usar variables y constantes en Go — step-by-step Programming tutorial on Progressive Robot

Cómo usar variables y constantes en Go

Las variables son un concepto de programación que es importante dominar. Son símbolos que sustituyen valores que se usan en un programa. En este tutorial, se abarcarán algunos aspectos básicos de variables y las prácticas recomendadas para utilizarlos en los programas de Go que cree.

Read more
Como escrever comentários em Go — step-by-step Programming tutorial on Progressive Robot

Como escrever comentários em Go

Comentários são linhas que existem em programas de computador que os programas de compilação e interpretação ignoram. A inclusão de comentários nos programas torna o código mais legível para humanos, uma vez que fornece informações ou explicações sobre o que cada parte de um…

Read more
How To Write Switch Statements in Go — step-by-step Programming tutorial on Progressive Robot

How To Write Switch Statements in Go

switch is an alternative conditional statement useful for communicating actions taken by your Go programs when presented with different options. Everything we can write with the switch statement can also be written with if statements. We’ll look at a few examples of what the switch statement can do, the if statements it replaces, and where it’s most appropriately applied.

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

Interface in Java

URL: https://www.progressiverobot.com/interface-in-java/ Interface in java is one of the core concept. Java Interface is core part of java programming language and used a lot not only in JDK but also [java design patterns](/community/tutorials/java/design-patterns). Most of the frameworks use java interface heavily. Interface in Java ![interface in java, java interface example](images/interface-in-java-section-1.png) Interface in java provide a […]

Read more
Java Access Modifiers — step-by-step Programming tutorial on Progressive Robot

Java Access Modifiers

URL: https://www.progressiverobot.com/java-access-modifiers/ Java access modifiers are used to provide access control in java. Java provides access control through three keywords – private, protected and public. We are not required to use these access modifiers always, so we have another one namely "default access", "package-private" or "no modifier". Java Access Modifiers ![java access modifiers, protected, private, […]

Read more
Java Convert double to String — step-by-step Programming tutorial on Progressive Robot

Java Convert double to String

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

Read more
Java FileWriter Example — step-by-step Programming tutorial on Progressive Robot

Java FileWriter Example

URL: https://www.progressiverobot.com/java-filewriter-example/ Java FileWriter Java FileWriter class is a part of java.io package. FileWriter is a sub class of java.io.OutputStreamWriter class. FileWriter is meant for writing streams of characters. FileWriter is used to write to character files. Its write() methods allow you to write character(s) or strings to a file. FileWriters are usually wrapped by […]

Read more
java.lang.NoClassDefFoundError — step-by-step Programming tutorial on Progressive Robot

java.lang.NoClassDefFoundError

URL: https://www.progressiverobot.com/java-lang-noclassdeffounderror/ java.lang.NoClassDefFoundError is runtime error thrown when a required class is not found in the classpath and hence JVM is unable to load it into memory. java.lang.NoClassDefFoundError NoClassDefFoundError is a runtime error, so it's beyond our application scope to anticipate and recover from this. java.lang.NoClassDefFoundError is a runtime error, it never comes in compile […]

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

Java Random

URL: https://www.progressiverobot.com/java-random/ Java Random class is used to generate a series of random numbers. Java Random Class Random class is part of java.util package. An instance of java Random class is used to generate random numbers. This class provides several methods to generate random numbers of type integer, double, long, float etc. Random number generation […]

Read more
Java Singleton Design Pattern Best Practices with Examples — step-by-step Programming tutorial on Progressive Robot

Java Singleton Design Pattern Best Practices with Examples

URL: https://www.progressiverobot.com/java-singleton-design-pattern-best-practices-examples/ Introduction _Java Singleton Pattern_ is one of the _Gangs of Four Design patterns_ and comes in the _Creational Design Pattern_ category. From the definition, it seems to be a straightforward design pattern, but when it comes to implementation, it comes with a lot of concerns. In this article, we will learn about singleton […]

Read more
CHAT