Some programming languages are like essays. They are just instructions written top down. Java is an object oriented programming language and behaves differently.

In Java, instuctions are written in “bubbles” called methods. A method a set of instructions that can be called at anytime to perfrom a certain task. For example, if we had a robot that we wanted to instruct to bake a cake using Java, we would need to write a methods for all the processes involved in baking a cake. We would write a “pour” method, a “stir” method, a “bake” method, and a “checkIfDone” method. The “checkIfDone” method is one of the only methods listed that doesn’t need a parameter. Since it is the cake baking robot.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: