answersLogoWhite

0


Best Answer

The equals operator is used for assigning a value to a variable.

ex String name = "efu";

the equals equals operator is used for comparaing if the given value

is equal to another value which is assigned for a variable.

ex int i = 0;

int j = 5;

if( i == 0){

System.out.println(j+"can't be divided by"+i);

}else{

System.out.println("answer is " +j/i);

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between equals and equals equals operators?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between charter airline broker and charter airline operators?

The difference between charter airline brokers and charter airline operators is that charter airline operators have permission from the FAA to operate charter aircrafts. Brokers just maintain control of the flight.


What is the difference between ' equals equals ' and ' equals equals equals?

one equals


What is the difference between 32volt's equals 940MA and 32volt's equals 375MA?

There is no difference. The statements are equally false.


What is difference between binary and unary operator in c language?

The number of arguments will be one for the unary operators and two for the binary operators. In the case of unary operators, the argument must be of the same type as that of the enclosing class or structure.


If x equals 2 and y equals 8 what is the difference?

To find the difference between two numbers, subtract them.


What is the difference between equals 0 and equals NULL?

NULL is for pointers, 0, for numbers


What is difference between torque at Nm equals 120 rpm equals 1800 and Nm equals 120 rpm equals 4000 give detail better as performance and load capacity in petrol engine?

Difference between Torque and load


What is the difference between x equals 3 and x equals equals 3?

The second would suggest that x equals the string "=3".


Which form is this equation written 3x 2y 7?

Incomplete, since there are no operators (plus, minus, times, divides, equals etc) between the terms.


What is the difference between a keyword search and a boolean search?

Boolean Search is something like using differnt operators like and,or, not etc


What is common ownership between transport operators and tour operators?

sex


What is a relational operators in c?

Relational operators are those operators which shows relation between two operands. e.g. ==, <=,>=,<,>