FuzzDuck
FuzzDuck
FuzzDuck

Object Oriented Programming

Object Oriented Programming are programming languages, which are based around creating objects and managing their behavior.

Program languages like Java and C# are based around objects and their behavior. The different objects are instantiated from classes, in which the objects are given parameters and functions. Creating, changing, and transferring these data to a database or a view display, these data can be stored, showed, encapsulated and much more. Below, you will find basic cases used in Object Oriented programming. Some cases are also used in other types of programming languages, besides the Object Oriented ones.


Class types

Read about the different class types by clicked an image below.

Like a blueprint is used for mass production, a class is used for production of objects.

A class that can’t be instantiated. Its parameters and methods can be inherited by an ordinary class, which takes the default values from the abstract class.

Like an empty class, with empty methods. An interface is used to inherit method names and the methods return values to subclasses. An interface can’t be instantiated.


Class structure

Read about the basic methods a class can consist of.

Inside a class a constructor is set to define the initial parameters when using the new() method to create objects of the class.

Getters and setter are class methods, used to define a specific parameter or retrieve its value.


Statements and loops

Read about some of the basic statements and loops.