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
-
Files in VB .NET Working with Directories We will work with the File and Directory classes in this section. We will create a directory and c...
-
If you want to do something more complex than insert a simple expression, JSP scriptlets let you insert arbitrary code into the servlet meth...
-
Please do this exercise at the command line instead of using NetBeans. This is to learn the concept of classpath without the help of NetBean...
-
Introduction: In this exercise, you are going to build and run a sample Java program called CommandLineusing NetBeans. The sample program c...
-
SQL Server Express is a free, easy to use, redistributable version of SQL Server 2005 designed for building simple data-driven applications....
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Using JavaServer Pages...
-
Now I will show you how to retrieve the data posted from a HTML file in a JSP page. Consider an html page that prompts the user to enter his...
-
A "service" is an application that can start automatically when the computer starts. There are two start up modes: 1. Automatic - ...
-
Working With Integers The process of creating variable called "Declaring" To Declare (=create) Integer variable simply write: Dim ...
-
STANDARD LIBRARY STRING FUNCTIONS: 1)strlen() 2)strcpy() 3)strcat() 4)strcmp() 1)strlen(): which tells about the length of the string means ...
No comments:
Post a Comment