By Ramakrishna on Dec 17, 2008 in StreamTokenizer | 0 Comments
Stream Tokenizer :
StreamTokenizer is a direct subclass of Object class. StreamTokenizer is included in java.io. Package. The StreamTokenizer class takes an input stream and parses it into “tokens” , allowing the tokens to be read one at a time. The parsing process is controlled by a table and a number of flags ( like [...]
By Ramakrishna on Dec 17, 2008 in Define static keyword | 0 Comments
static is a keyword and means ‘ can be accessed without the help of an object ‘.
static is used an access modifier with members ( variables and methods ) of class. A static member belongs to the whole class. That is, all the objects of the class share ( or access ) the same [...]
By Ramakrishna on Dec 17, 2008 in Explain Abstract Class | 0 Comments
Abstract Class :
In some situations we want to define a superclass that declares the structure of a given abstract without providing a complete implementation of every method. That means we only provide general code and it is developers responsibility to customize that class. To make sure this, we can make the abstract, that means the [...]
By Ramakrishna on Dec 16, 2008 in Define Array in java | 0 Comments
An Array is a group of similar data type items that share a common name. Arrays occupies contiguous memory locations. Array size is fixed and cannot be altered dynamically. For example, we can define an array name as salary to represent a set of salaries of a group of employees. A particular value is indicated [...]