answersLogoWhite

0

What is a operator overriding in java?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

Java does not support object overriding. It does support operator overloading by means of the "+" symbol which is used for both numeric addition as well as string concatenation.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a operator overriding in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Explain the role of sizeof operator in java?

There is no sizeOf() operator in Java.


Which operator works like sizeof operator in Java?

Java does not have the sizeOf() operator or any operator that gives an equivalent result.


Operator overloading is possible in java or not?

Java does not support opperator overloading, so the answer to your question is: none.


What are the restriction that are applied to operator overloading?

Java does not support user defined operator overloading.The operator '+' is overloaded in Java and can be used for adding both numbers and Strings.


Is overriding a dynamic polymorphism in c plus plus or not?

In C++, overriding and function, method, or operator is a different thing than (dynamic) polymorphism, so overriding a polymorphic method is almost entirely possible.


What is overriding method in java with simple example?

ye bohut mushkil sawa lhai


What is operator in java?

An operator is a symbol that does something in Java. for ex: "+" is an arithmetic operator that adds two numbers. ">" is a logical operator that checks if one number is greater than the other. There are many different types of operators in Java like Arithmetic, Logical, Relational and Assignment operators


When do you declare a method or class abstract in java?

when overriding of a class or a method is necessary, they can be declared as abstract


Difference between equals equals and equal in java?

"==" in java is the binary operator which compares two values and gives a boolean result While "=" in java is a assignment operator which assigns a value to a variable.


The multiplication operator is represented in Java by what symbol?

In Java, the multiplication operator is represented by the asterisk, "*". This was not invented by Java; most programming languages, as well as programs such as Excel, use the same symbol.


What is the operator that cannot be overloaded in c plus plus and java?

conditional operator , size of operator , membership operator and scope resulation operator can not be overload in c++


What does the java 'this' operator do?

It refers to the currently running object.