Arrays in Golang

  • 12 April 2020
  • ADM

An array is a data structure with a fixed size containing elements (items) of the same type. Iterate over an array using for loop or for range loop.

For loop examples in Golang

  • 13 April 2020
  • ADM

How to write a for loop using Golang programming language. Similar with other programing languages, the basic for loop has three components separated by semicolons.

Interfaces in Golang

  • 10 April 2020
  • ADM

Interfaces are collections of method signatures. A interface type can hold any value that implements those methods. The empty interface is an interface type that specifies zero methods. A type assertion provides access to an interface underlying concrete value. Two interfaces are equal if they have equal concrete values and identical dynamic types, or if both are nil.

How to show open database connections in MySQL using show status and show processlist command.

When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.

You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.

Abstract keyword in Java

  • 10 March 2020
  • ADM

The abstract keyword is used in Java for abstraction. The abstraction is the process of selecting data and displaying only the relevant details to the object. If helps to reduce the programing complexity and the efort.