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


Object Behavior

You already learned about object in previous tutorial. But you had many queries regarding objects - Why Objects? What’s its use? In previous tutorials you wrote codes in a class with main method.  Ever wondered if you can create methods(like bark(), hungry()) in a class other than the main method class. What we are trying to say … Continue reading Object Behavior