Object oriented programming having syntactic unit is the
Object oriented programming having syntactic unit is the class.
In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behaviour. A class is used in object-oriented programming to describe one or more objects. It serves as a template for creating, or instantiating, specific objects within a program. While the syntax of a class definition varies between programming languages, classes serve the same purpose in each language.
A class can be defined as a template/blueprint that describes the behaviour/state that the object of its type support.