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
Explain the Remainder or Modulus Operator in Java? Java has one significant arithmetical operator you might not be familiar with, %, also called as the modulus or remainder ope
Explain the both HashSet and TreeSet? HashSet is an unordered, unsorted Set. It's a Collection set which restrict duplicate elements and also repositioning of elements. I
What is the difference between an Interface and an Abstract class? An abstract class can have instance methods that execute a default behavior. An Interface can only declare co
Objectives: socket programming in Java: TCP Exercises: Goal: In this project we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web ser
Write a Java Applet which will draw a face on applet as follows: b) Modify the program now by adding two Buttons (Java version of ActiveX Control) named Smily Fac
Explain Drawing Rectangles in java ? Drawing rectangles is easy. Begin with a Graphics object g and call its drawRect() method: public void drawRect(int x, int y, int width, i
Explain the for loop in java? // This is the Hello program in Java class Hello { public static void main (String args[]) { System.out.print("Hello "); // Say Hello
1 occurrence of "oog", and 1 occurrence each of "goog", "oogo",
Explain abstract method in java? Java permits methods and classes to be declared abstract. An abstract method is not actually implemented in the class. It is merely declared th
Finding an Applet's Size When running inside a web browser the size of an applet is set through the height and width attributes and cannot be changed by the applet. Several app
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