Describe java operators, JAVA Programming

Assignment Help:

Describe java operators?

An operator is a symbol which operates on one or more arguments to generate a result. The Hello World program is so easy it doesn't use any operators, other than almost all another programs you write will.

Operator

Purpose

+

addition of numbers, concatenation of Strings

+=

add and assign numbers, concatenate and assign Strings

-

subtraction

-=

subtract and assign

*

multiplication

*=

multiply and assign

/

division

/=

divide and assign

%

take remainder

%=

take remainder and assign

++

increment by one

--

decrement by one

> 

greater than

>=

greater than or equal to

< 

less than

<=

less than or equal to

!

boolean NOT

!=

not equal to

&&

boolean AND

||

boolean OR

==

boolean equals

=

assignment

~

bitwise NOT

?:

conditional

instanceof

type checking

|

bitwise OR

|=

bitwise OR and assign

^

bitwise XOR

^=

bitwise XOR and assign

&

bitwise AND

&=

bitwise AND and assign

>> 

shift bits right with sign extension

>>=

shift bits right with sign extension and assign

<< 

shift bits left

<<=

shift bits left and assign

>>> 

unsigned bit shift right

>>>=

unsigned bit shift right and assign


Related Discussions:- Describe java operators

High quality leads and directory scraping, Project Description: (1) I wa...

Project Description: (1) I want a comprehensive list of Australian chiropractors. The data requires coming from various sources including Google but the following are obligatory

Write the hashcode() method of java.lang.object, Write the hashCode() metho...

Write the hashCode() method of java.lang.Object Anytime you override equals() you should also override hashCode(). The hashCode() method should ideally return the similar int f

Tictactoe, write complete application to play game tictactoe

write complete application to play game tictactoe

Data structure, consider the file name cars.text each line in the file cont...

consider the file name cars.text each line in the file contains information about a car ( year,company,manufacture,model name,type) 1-read the file 2-add each car which is represen

Plug-in for adobe after effects, Plug-in for Adobe after Effects Project...

Plug-in for Adobe after Effects Project Description: We are seeking software engineers to create a plug-in for Adobe after Effects (CS4 and above) that allows 3D extrusions f

J2ee java website rebuild, J2EE Java Website rebuild Project Description...

J2EE Java Website rebuild Project Description: We are seeking an experienced developer to re-build a Java/J2EE based Website. We are in requirement to reconstruct our website

Prepare simple spring maven task, Prepare Simple spring maven task Proje...

Prepare Simple spring maven task Project Description: We want a very simple delivery for one of our tasks using Spring STS Maven project. This chat does not have UI interf

How to begin a variable name with a number, How to Begin a Variable Name wi...

How to Begin a Variable Name with a Number? If you need to starts a variable name along with a digit, prefix the name you'd like to have (e.g. 8ball) along with an underscore,

To change c code and place into a java application, To change c code and pl...

To change c code and place into a java application Project Description: To change c code and place into a java application Skills required are C Programming, Java, Softwar

Program, Luminous Jewels - The Polishing Game Byteland county is very famo...

Luminous Jewels - The Polishing Game Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various lum

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd