Definition of Quatrain. A quatrain is a stanza in a poem that has exactly four lines. Some quatrains comprise entire poems, while others are part of a larger structure. Quatrains usually use some form of rhyme scheme, especially the following forms: AAAA, AABB, ABAB, and ABBA.
This section contains the types of variable in java. In Java all variable must be declared before it will be used anywhere in the program. The declaration syntax is as follows : type identifier [ = value][, identifier [= value] ...] ; Here 'type' is data type and 'identifier' is the variable name. Java have following types of variable : Local variables.
An object oriented program can be characterized as data controlling access to code. Java is object oriented programming language. Java classes consist of variables and methods (also known as instance members). Java variables are two types either primitive types or reference types. First let us discuss how to declare class, variables and methods then we will discuss about access modifiers.