Default Methods In Java 8

This article is about default methods in java interface. In java 8 we can declare default methods in Interface. Default Methods Default method is a method that declare with default keyword instead of abstract keyword. In Java 8 we can declare default method with it’s body in Interface. Default method is useful to provide default […]

Share
Continue reading →

Static methods in java interface – Java 8

Till java 7 static methods not supported by interface. But in java 8 we can declare static methods in interface. Example Code Car.java (Interface) Here in above code we have one interface Car with one static method printCarId();. Note : 1. Static methods must declare with body means we can not use abstract keyword with […]

Share
Continue reading →

Convert JSON To Java Object – Jackson

This article is about how to convert JSON string into Java objects. Here we are using Jackson lib to get Java Object from Json string. Add following maven dependency in your pom.xml file to add support of Jackson library in your project. Perform only two steps to get java object from JSON. 1. Create the […]

Share
Continue reading →

Convert Java Object To JSON – Jackson

This article is base on how to convert java object into JSON string. Here we are using Jackson lib to get JSON from java object. Add following maven dependency in your pom.xml file to add support of Jackson library in your project. Perform only two steps to get JSON from java object. 1. Create the […]

Share
Continue reading →

Useful software for Ubuntu

This article is about useful software you can install in your ubuntu. 1. Unity Tweak Tool : 2. Google Chrome : 3. VLC Player : 4. Clementine Music Player : 5. Skype : 6. Sublime Text : If you are programmer then : 7. Java : Install java 8 ( JDK 8 ) in Ubuntu […]

Share
Continue reading →