Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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
program code
List the Parentheses used in Java language? As usual here's the output: % javac FahrToCelsius.java % java FahrToCelsius 0 -17.7778 20 -6.66667 40 4.44444 60 15.5556 80 26.6667
write a java program to test for class Person Student faculty Employee
Explain Identifiers in Java ? Identifiers are the names of variables, classes, methods, packages and interfaces. Unlike literals they are not the things themselves, only ways o
What is constructor chaining and how is it achieved in Java? A child object constructor always first requires to construct its parent (which in turn calls its parent constructo
The while statement define a loop that iterates as long as condition remains true. In the following instance the control waits till the value of a text field becomes "go":
In programming, what is an object? Object is a named collection of properties (data and state) & methods (instructions, behaviour). Objects are key to understanding object-orie
1. Lifecycle Management : Individual enterprise beans do not accept to explicitly manage process allocation, object activation, thread management, or object destruction. The EJ
Problem 1 Explain and Define the following concepts with appropriate examples a) Superclass b) Subclass c) Inheritance d) Exceptions e) Stream classes >>Defining and expl
Illustrate the method to print on the GUI Example Code: Taking Input / Output So far, we learned how to print something on console. Now time has come to learn how to print
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd