In Java, all function definitions must be inside classes. We also call functions methods. Let’s look at an example method public class Main { public static void foo() { // Do something... Read more
In fibonacci series, next number is the sum of previous two numbers for example 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 etc. The first two numbers of fibonacci series are 0 and 1. There are two... Read more
Object-oriented programming on the Java platform This two-part tutorial introduces the structure, syntax, and programming paradigm of the Java™ language and platform. You’ll learn the... Read more
Apache POI is a powerful Java library to work with different Microsoft Office file formats such as Excel, Power point, Visio, MS Word etc. The name POI was originally an acronym for Poor Obf... Read more
System.out and System.err stream objects are mapped to “standard” output and error stream respectively. By default, Java display standard output/error on display console. Thus, when we print... Read more