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



We assume now you are very much familiar with data types, variables, class { } & methods ( ). Object is the most important concept in Java. So what is an object? An object can be anything physical entity like dog, mobile, bike, fan etc. They are objects because they have a state and a behavior. … Continue reading Objects