Thursday, September 1, 2016


Relational Operator:-

The following are relational operators..... => < => > => <= => >= => == => != Lets have a program on Relational Operator class Relational { Public Static void main(String args[]) { int a=56, b=35; System.Out.println("the value of a="+a); System.Out.println("the value of b="+b); System.Out.println(a+ "<" +b+ "=" +(a < b)); System.Out.println(a+ ">" +b+ "=" +(a > b)); } }

No comments:

Post a Comment