if else

Java – Conditional Statements

by seetaram on July 2, 2011

Java being a programming language provides conditional statements to handle execution of a set of statements based on the conditions. if if-else switch See example code below: package com.selftechy.learnjava; public class TestCase { public static int tcCount; public int stepcount; public String status; public int getStepCount(){ return stepcount; } public String getStatus(){ return status; } […]


Do you want to get updates on the recent articles written? Please subscribe to RSS feed or Email