JAVA BASIC PART - 4 SWITCH CASE
Youtube channel :- madhavgediya Java playlist :- java playlist link This video like :- video -: SWITCH CASE STATEMENT :- - A switch statement allows a variable to be tested for equality against a list of values. - Each value is called a case, and the variable being switched on is checked for each case. Syntax: The syntax of enhanced for loop is: switch(expression) { case value : //Statements break; //optional case value : //Statements break; ...
Comments
Post a Comment