OOP Series — What is an Object?

What is an Object?

What is a Class?

//name of class
public class Agent {
//Public Attributes
//Constructors
//Accessor Methods
//Public Interfaces
//Private Implementations
}
What the hell is this? (Family Guy Noah’s ark scene)
Agent agentSmith = new Agent()
Agent agentJones = new Agent(name="Jones", heightInCM=188)
Agent agentBrown = new Agent(name="Brown", heightInCM=177)
Agent Brown, Agent Smith and Agent Jones from The Matrix

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store