First we need a Class which inherits BodyTagSupport, we can implement our custom Tag using this Class.
Heres an Example which Shows how to code for a Custom Tag. 1,002 more words
Question : Write a program to count number of vowels and consonant in a
given string ?
Aim : To count number of vowels and consonant in a string . 79 more words
There are two types of nested class in Java, static and non-static, later is also known as Inner class. Main difference between them is that static class is not associated with Outer class instance and you can create its instance without having an Outer class instance, but Inner classes are associated with Outer class instance and cannot be created without them. 116 more words