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.
String Interning is a method of storing only one copy of each distinct String Value, which must be immutable. In Java, String class has a public method intern() that returns a canonical representation for the string object. Javaâs String class privately maintains a pool of strings, where String literals are automatically interned. When the intern() method is invoked on a String object it looks the string contained by this String object in the pool, if the string is found there then the string from the pool is returned.