And data rather than logic It simplifies software development and maintenance by providing some very intriguing features ObjectOriented Programming in JavaPublic class Logger { PrintStream ps; Java Cheat Sheet Object – Objects have states and behaviors Example A dog has states – color, name, breed as well as behaviors wagging, barking, eating An object is an instance of a class Class – A class can be defined as a template/ blue print that describes the behaviors/states that object of its type support
Java Cheat Sheets Eduonix Blog