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
-
Syntax of JSP Scriptles are: <% //java codes %> JSP Scriptlets begins with <% and ends %> .We can embed any a...
-
INTRODUCTION TO 'C': C is a programming language developed at AT & T's Bell laboratories of USA in 1972.it was designed by d...
-
POINTERS: The pointer has a simple definition that is A value which points towards the address of another value which is called as pointer. ...
-
JSP scripting elements let you insert Java code into the servlet that will be generated from the current JSP page. There are three forms: ...
-
Introduction: In this exercise, you are going to build and run a sample Java program called CommandLineusing NetBeans. The sample program c...
-
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 ...
-
Conditional Statements If....Else statement If conditional expression is one of the most useful control structures which allows us to execut...
-
The SQL AND clause is used when you want to specify more than one condition in your SQL WHERE clause, and at the same time you want all con...
-
Classes (I) A class is an expanded concept of a data structure: instead of holding only data, it can hold both data and functions. An object...
-
The SQL COUNT aggregate function is used to count the number of rows in a database table. The SQL COUNT syntax is simple and looks like this...
No comments:
Post a Comment