ALL
Different ways to print "Hello world" in Java
This post is not about best practice to print "Hello world" in Java, it is about exploring different capabilities offered by Java. Also there are articles about printing "Hello world" in different programming languages, but this post is not about that.Standard literalThe most commonly used way is to use System.out to print"Hello world".System.out.println("Hello world");EnumerationAn enumeration can define a set of values belonging to one category. For example, an enumeration for all months in a year. Another great use of enumeration is in writing testcases to accept different testing para...
Cool things you can do with iPhone
Nowadays smart phones have plenty of cool features you can get to know without reading the manuals. But do you know there are some useful but less well known features which can ease our life? In this post, we will share with you some cool features on iPhone. If you have an iPhone with, go and get a try.1. Use Google Map as free GPSWhile traveling abroad, you can use Google Maps as a free GPS without an international data plan by making use of it's hidden offline maps feature.You can use this feature by simply zooming to a map area you want offline in the maps app and typing "ok maps" into the ...