Join Regular Classroom : Visit ClassroomTech

Programming in JAVA

Buffered Reader in java

Java BufferedReader class is used to read the text from a character-based input stream. It can be used to read data line by line by readLine() method. It makes the performance fast. It inherits Reader class. Java BufferedReader class declaration Let’s see the declaration for Java.io.BufferedReader class: public class BufferedReader extends Reader Output Latest Posts

Buffered Reader in java Read More »

Multidimensional array in java

In Java, multidimensional arrays are actually arrays of arrays. Data in multi-dimensional arrays are stored in tabular form. Example : Syntax: Data_type[1st dimension][2nd dimension]—-[Nth dimension] array_name=new data_type[size1][size2]—-[size N]; Where datatype Type of data to be stored in the array. For example int, char, etc. Dimension: The dimension of the array created. For example : 1D,

Multidimensional array in java Read More »

Boolean in java

Java has a primitive datatype, called boolean, for logical values. It can have only one of two possible values,true or false. After any conditional operations, it returns true or false.Example: Output Literals in java Integer Literals: Integers are probably the most commonly used type. Any whole number value is an integer literal. Examples are 1,

Boolean in java Read More »