Posts

Showing posts from April, 2014

Explore Default Method in JAVA 8 & Crack few challenges

Today, let's explore the one of new feature of java 8 "DEFAULT METHOD". Here, I am not going to give you complete theory about this new concept as it's well explained @ here So, instead of that, let's play and focus on, how would you code simple program with this default method concept and see what kind of issues you raised while working with you current eclipse IDE :) I have an eclipse kepler IDE and i installed java 8 from oracle site here Now i coded below very simple program using concept of interface,concrete class and main test programm. In the IProgramming interface, you can see my default method getAuthorName() but i am not able to compile it and getting error message in interface level and even in implemented class level too.( please check error message in above code snippet) So ,What ? I can't run and see output of my main test program..and i want to resolve it .. and i reviewed and checked my java setting and compiler level for...