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

Want an experienced ios and android expert, Want an Experienced iOS and And...

Want an Experienced iOS and Android expert Project Description: I am seeking a super talented team or Individual for a Real Estate app. The project wants to get done in a ver

Describe the life cycle methods of a jsp? , 1. Pre-translated: Before the...

1. Pre-translated: Before the JSP file has been compiled and translated into the Servlet. 2. Translated: The JSP file has been compiled and translated as a Servlet. 3. I

Luminous Jewels - The Polishing Game, Byteland county is very famous for lu...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Solving problems about traffic jam, Computer programming Project Descrip...

Computer programming Project Description: Solving various problems about traffic jam Skills required: C# Programming, Java, C++ Programming, PHP, Software Architecture

Help !!, I''ve been trying to get this java program to work but im lost and...

I''ve been trying to get this java program to work but im lost and Im stuck ! The factorial of a positive integer N, denoted by N! N!=1*2*...*N Using subprograms and f unctions,c

Web application using javascript-xml and css, Journal of how you came to AU...

Journal of how you came to AUB Write a web application using JavaScript, XML and CSS that contains a journal of major events and places on your journey to Bond University. The

Multidimensional Array and the ArrayList Class, Write a ComputerPart class ...

Write a ComputerPart class and a ComputerKit class and a client class to test them. The ComputerPart class has two variables: a String representing an item, and a double representi

Use the constructor, Can we use the constructor, instead of init(), to init...

Can we use the constructor, instead of init(), to initialize servlet? Ans) Yes. Of course you can use the constructor instead of init(). There's nothing to stop you. But you sho

What does a simple spring application contain, These applications are like ...

These applications are like any Java application. They are made up of not many classes, each performing a particular purpose within the application. But these classes are configure

Continue statement in javascript, It terminates execution of the block of s...

It terminates execution of the block of statements in while or for loop & continues execution of the loop along with the next iteration. On the contrary to the break statement, con

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