java

Array in Java

Array in Java is the collection of similar type data values. In java, array treat as an object. To declare an array, define the variable type with square brackets. Variables in the array are order, and each has an index beginning from 0. The size of an array must be specified by int or short value and not long value.

java

StringBuffer in Java

StringBuffer in Java is the pre class of string class. StringBuffer also allows us to handle String message but in mutable behavior. It means once we assign a string value using StringBuffer then after we can grow or shrink the length of the message by adding or removing something.

java

String Method In Java

String is the class (pre-defined) provide by java for storing the string value. It means when we create an object of string class then we can store a string value as. It is immutable. String is a Group of characters is called string. If we store a string value using string class then the length of the string will be fix means no further amendment will happen in that string.

java

Decision Making in Java

Decision making in Java structures have one or more conditions to be evaluate or test by the program, along with a statement or statements that are to be execute if the condition is determine to be true, and optionally, other statements to be execute if the condition is determine to be false.