Author Archives: admin - Page 3

Iterative statements

while Example:1 while(true){ ("hi"); } ("Hello"); Example:2 while(false){ ("hi"); } ("Hello"); Example:3 class Test{ public static void main(String args) { int a = 10; int b = 20; while(a<b){ ("Hi");…
Continue Reading

Interfaces

Introduction From the client point of view interface defines the set of services what he is getting. From the service provider point of view an interface defines the set of…
Continue Reading

Other Operators

The Conditional operator is the only ternary (operator takes three arguments) operator in Java. The operator evaluates the first argument and, if true, evaluates the second argument. If the first…
Continue Reading