Inheritance(1)- Introduction

Before you begin with inheritance read this story. An employee named Tom is working for XXX company as a Java developer. Tom is working on a project. His boss asked him to design a code for different shapes. He explained him- “There will be different shapes (square, triangle and circle). Each shape will have two … Continue reading Inheritance(1)- Introduction


Data Type

In previous tutorial we read about variables. We also know that variables have size and type. Now, what’s that? Why bother about type and size? Java cares about type. It won’t allow you to do something bizarre and dangerous, like stuff a Chocolate reference into a Cold-drink Variable, or stuff an aircraft reference into a … Continue reading Data Type