dinesh Archive
If an inner class has been defined within a code block (typically within the body of a method), then such an inner class is called a local inner class. A local inner class is not …
Anonymous classes enable you to make your code more concise. They enable you to declare and instantiate a class at the same time. They are like local classes except that they do not have a …
A class that is declared inside a class but outside a method is known as member inner class. Invocation of Member Inner class From within the class From outside the class Example of member inner …
A class declared inside a class is known as nested class. We use nested classes to logically group classes in one place so that it can be more readable and maintainable code. Moreover, it can …
In this article we will discuss String in a switch statement; a new feature of Java 7. So for explaining this topic we take a short look at switch, string and some switch cases. Introduction …
Introduction In this article we will discuss multiple exceptions in Java 7. Its a new feature released by Java 7 to remove redundancy of code since we don’t need to write a catch statement again …
Introduction In this article we are going to describe the many exceptions that are possibly generated by an array in Java. So now we describe each Exception type in detail one by one. First we …