Tag Archives: Consonant

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 […]