An objective reality

Who are you? What conditions do you satisfy? Any special attributes? Any classical human attributes?

public class Human{


private void consciousness(){} // Real world programming magic

public static void hairColor(Genome dna){}

private static Energy metabolism(Food sustenance){}

}

There it is, a human class, defined within two curly brackets…

Human Joe = new Human();

And that’s how we populate average Joe.

Certain keywords to may attention too:

public:

Available to other objects to see use and interact with.

private:

Only available for use within a certain object

Class :

A collection of methods/operations that make up our definition of the object we are trying to describe.

Method:

An operation that manipulates data.

Input type: (arguments)

What type of data are you going to pass to this method? String, int, boolean, double, float, something else?

Output type: (return type)

What type of data will this method give you? Make sure to save it or use it, else you will be considered wasteful.