Problem with Interface in JDK 8.0

Since java class can implement multiple interfaces and each interface can define default method with same method signature, therefore the inherited methods can conflict with each other. Consider the below example.,   The above code will fail to compile with the following error: java:class Impl inherits unrelated defaults for defaultMethod() from types InterfaceA and InterfaceB….

Getting Started with Raspberry Pi

Image Courtesy: www.imore.com First of all let’s see what you need Obviously a Raspberry Pi Stable power supply 8GB micro SD card (anything more than 4GB is okay) Monitor or TV HDMI Cable (If you are using a old monitor get a HDMI to VGA cable) Raspberry Pi Casing – optional If you are using…

Introduction to Raspberry Pi

What is Raspberry Pi? Imagine a computer which can carry in your pocket! That’s the simplest introduction for the Raspberry Pi. Raspberry Pi was originally designed for education by creator Eben Upton. His main aim was to build a low-cost device which can use to improve programming skills and hardware skills of students. Raspberry Pi…