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

Programming, .Write a programme to create a webpage that prints the name of...

.Write a programme to create a webpage that prints the name of the STUDENT database in Wide Latin font and set the subtitle with description of the STUDENT to the screen. Set the

What is the use of throws keyword, What is the use of throws keyword ? ...

What is the use of throws keyword ? Rather than explicitly catching an exception you can declare in which your method throws the exception. This passes the repsonsibility to h

I need liferay especialist, I need Liferay Especialist Project Descripti...

I need Liferay Especialist Project Description: We want a JAVA + JSF + Portlets expert Liferay expertise is needed Big Data and Online Tools + Multilingual Portal & Websit

Types of dependency injection spring supports, What are the types of Depend...

What are the types of Dependency Injection Spring supports? Ans) there are two types of Dependency Injection Spring a)  Setter Injection: b)  Constructor Injection:

Encapsulation, Defines to keeping all the related members together in an ob...

Defines to keeping all the related members together in an object. Specifying member variables as private may hide the methods and variables. Objects should hide their inner working

Advanced java info1414, This is a working program that shows election resul...

This is a working program that shows election results from the infamous 2000 presidential election involving a lot of Floridians and 'hanging chads'. The program as written reads a

What is a portal?, A portal is a service or a Web site that gives broad ran...

A portal is a service or a Web site that gives broad range of services and resources like e-mail, forums, search engines, weather information, news, on-line shopping, stock quotes.

Difference between an application server and a web server, An application s...

An application server creates data for a Web server - as, collecting data from databases, processing security checks, applying relevant business programs, and/or storing the state

Explain the three benefits of access protection, Explain the Three Benefits...

Explain the Three Benefits of Access Protection ? Access protection has three major benefits: 1. It permits you to enforce constraints on an object's state. 2. It gives a si

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