Switch case statements in Golang
The switch statement is an easier way to have a sequence of if-else statements. In Golang you don't need to have break
at the end of
each case, it breaks implicitly. Also the golang switch statement work on values of any type.
For loop examples in Golang
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.
Abstract keyword in Java
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.
All keywords in Java
Keywords are special words in the programing language which have reserved use in the language. Keywords may not be used as identifiers in Java; for example you cannot declare a field whose name is a keyword.
Blinking LED on Raspberry Pi using Python
How to make a LED blinking on Raspberry Pi using Python. Simple Python code sample.
How to get input from Java Console
How to get input from Java Console. Examples using System.console
, Scanner
and BufferedReader
+ InputStreamReader
.