Currently browsing category

Java, Page 4

java-thumbnail

State Design Pattern In Java

This tutorial explains the state design pattern with a simple example program. State design pattern is very similar to the Strategy pattern, …

java-thumbnail

Downcasting In Java

Upcasting is assigning the sub class reference object to the parent class which is allowed in Java. Downcasting is assigning parent class …

java-thumbnail

Static Nested Class In Java

Static Nested classes are inner classes which are declared inside another class and also declared with static keyword. The main difference between …

java-thumbnail

Java InputStreamReader Example

InputStreamReader is bridge between bytes and streams. This usually reads the bytes from the source files and convert them to the characters …