Tag Archives: Alphabet

Character is Letter in JAVA – JAVA 10th Class notes – ICSE JAVA Notes

Character  is  Letter in JAVA – JAVA 10th Class notes – ICSE JAVA Notes   Character.isLetter( ) :- Character.isLetter( ) function is used to check whether the given argument is an Alphabet or not. It returns a Boolean type value either True or False.   Syntax : boolean  var = Character.isLetter(character);   Example : boolean […]

ICSE Java Program – Java Program to given Character is a Digit, Letter or a Special Character If-Else Statements

ICSE Java Program – Java Program to given Character is a Digit, Letter or a Special Character If-Else Statements import java.io.*; class Check1 { public static void main(String args[])throws IOException { DataInputStream dis = new DataInputStream(System.in); char ch ; System.out.print(” Enter a character : “); ch = (char) dis.read(); if(ch>=’a’&& ch<=’z’ || ch>=’A’&& ch<=’Z’) { […]

ICSE 10th Standard Notes – Nested If Statement in java – ICSE Nested If Statement with example

ICSE 10th Standard Notes – Nested If Statement in java – ICSE Nested If Statement with example A nested If is an If that has another if in its body or in the body of the else block or in both. Syntax :- if(expression) { True Block of Statements if(expression) { __________ __________ } else […]