Functions: Objects Member Variables Methods Constructor Subroutine Type Instantiating
Functions: Objects Member Variables Methods Constructor Subroutine Type Instantiating
Functions: Objects Member Variables Methods Constructor Subroutine Type Instantiating
3.We know only the half way of the game development . we want know the full details about
it.
functions
functions are "self contained" modules of code that accomplish a specific task.
Functions usually "take in" data, process it, and "return" a result. Once a function is written, it
can be used over and over and over again. Functions can be "called" from the inside of other
functions.
Classes
a class is an extensible program-code-template for creating objects, providing initial values for
state (member variables) and implementations of behavior (member functions
or methods).[1][2] In many languages, the class name is used as the name for the class (the
template itself), the name for the default constructor of the class (a subroutine that creates
objects), and as the type of objects generated by instantiating the class; these distinct concepts
are easily conflated
interface QueueInterface‹AnyType>
{
public boolean isEmpty();