Answer:
Step-by-step explanation:
For understanding this we need to know what regularity is. It depicts how good the features of a language are integrated.Regularity is divided into three main concepts, i.e. Generality, Orthogonality and Uniformity.
The concept of regularity arises on a language when the consistency and integration in its features fails to work well.Thus the language becomes more complex for the user.
For Example -
Java
1. Generality - It is achieved when the language avoids special cases in the use of constructs and combines the close related constructs into a single but more general construct.
In java, there is the use of inheritance for classes but we cannot use multiple inheritance which is a special case.This can be termed as non-generality.
2. Orthogonality - If a language is purely orthogonal, the language constructs do not behave differently in different contexts.
In java, we cannot use Strings in the switch statement but we can use integers, convertible integers(byte, short, char) in the switch statements. This shows non-regularity.
3. Uniformity - It refers in the feasibility and stability on the appearance and behavior of language constructs.
In java, there are many ways for increment i.e. (++1, i++, i = i + 1). But they all are so different and also looks different but they behave in a similar way when they should not.