Hello World – Java Example
package com.mybusinessdatabase; //HelloWorld – a string output in the console class HelloWorld { public static void main (String args[]) { System.out.println(“Hello World!”); } } Tip: In Eclipce you...
View ArticleDifference between List and ArrayList
List is an interface and ArrayList is a specific implementation of List. The describes an object type. You could see an example below, how to define a list with String objects. List customerList= new...
View ArticleSuper keyword in Java
In Java, if you have overriding methods in “Parentclass” by your “Subclass”, you can invoke overriden methods using super keyword. Thus you don’t have to invoke operations in the “Parentclass” again....
View ArticleHow to configure Content Assing in Eclipse
How to configure Content Assing in Eclipse? In some cases it is possible that eclipse deactivates Content Assing properties and it doesn’t work. However to configure this issue, you need go to...
View ArticleWhy you have to use a logger
It’s not really crucial which logging framework do you use in yor applications. The important thing is that you use in any case a logger instead of applying System.out.println(” … “); for logging...
View Article