Posts

Showing posts from April, 2020

Java 8 interfaces and behind the scene

Image
                                 Hello geeks,  Java 8 or 1.8 come up with lots of enhancements to survive into market. Since, other programming languages are evolving itself beyond object oriented world. Since, java until now strictly follows object oriented approach, that's why a lots of programming methodologies (like function programming etc) are still not supported by java until java 1.7. But in java 8 they started to adopt such programming methodologies too. In this particular blog i am mainly going to talk about the java 8 interface. Since interfaces are there in java from there very first releases, so what new in java 8 interface. Interfaces in java till 1.7 To get a better clear picture, lets first talk about java 1.7 (or earlier) interface implementation. The main reason behind using an interface is to define a type of user's choice (or vendor's choice). Just like c programming where we first declare functions and then define them and then use