OPERATORS:
There are 7 operators they are:
1.Arithmetic operators : +,-,*,/,% : addition,subtraction,multiply,division.
2.Relational operators : <,<=,>,>=,==,!= : lessthan,lessthan equalto,greaterthan,greaterthan equalto,is equalto,is not equalto
3.Logical operators : &&,||,! : AND,OR,NOT
4.assignment operators : +=,-=,/=,*= : example: a+=b(a=a+b)
5.Increment and Decrement operators : ++,-- : increment or decrement 1
6.Conditional operators : exp1 ? exp2:exp3 : ex: x=(a>b) ? a : b
7.Bitwise operators : &,|,^,<<,>>,~ : bitwise AND,OR,exclusive OR,shift left,shift right,one's complement.
Popular Posts
-
JSP pages are high level extension of servlet and it enable the developers to embed java code in html pages. JSP files are finally compiled ...
-
The SQL SELECT INTO statement is used to select data from a SQL database table and to insert it to a different table at the same time. The g...
-
OPERATORS: There are 7 operators they are: 1.Arithmetic operators : +,-,*,/,% : addition,subtraction,multiply,division...
-
SYMBOLIC CONSTANTS OR MACRO: In this #define is a macro used for a constant value to be assigned in the program. for example: pi its value i...
-
package interfaceexercise; // Define an interface with three abstract methods. // Any class that implements this interface has to // impleme...
-
Introduction: In this exercise, you will exercise the concept scope variable. Steps to follow: 1. Write ScopeOfVariable.java as shown in Cod...
-
<%@page contentType="text/html" import="java.util.*" %> <!-- http://www.roseindia.net/jsp --> ...
-
CONSTANTS,VARIABLES AND KEYWORDS: CONSTANTS: Two types of constants those are: a)primary constants b)secondary constants a)In primary consta...
-
MouseMove, MouseDown and MouseUp Events Lets check out the Command Button's MouseMove, MouseDown and MouseUp events. We will do that lik...
No comments:
Post a Comment