answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the operator that cannot be overloaded in c plus plus and java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which operator cannot be overloaded c plus plus?

comma (,) is an example


Which c plus plus operators cannot be overloaded?

1. Member-of operator (.) 2. Pointer-to-member-of operator (.*) 3. Ternary condition operator (?:) 4. Scope resolution operator (::) 5. sizeof operator 6. typeid operator


Can the scope resolution operator be overloaded in C plus plus?

No.


What are special operators in c plus plus?

The only "special" operators in C++ are those that cannot be overloaded. That is; the dot member operator (.), pointer to member operator (.*), ternary conditional operator (:?), scope resolution operator (::), sizeof() and typeof().


How do you find size of any object in java OR is there any operator or fun.. equivalent size of in c plus plus?

No, there is no such operator or function in Java that can tell you the amount of memory an object uses.


What are the similarities between c plus plus and java?

C++ and Java are identical except for...No pointers in JavaAll object names are referencesNo operator ->, only operator .No multiple inheritance in JavaNo template classes in JavaThe run-time and class libraries are vastly different


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


How is java different than any other OOP languages like C plus plus?

Every languages are different, a C++ compiler cannot compile a Java source.


What is the answer to 2020 plus 1358 plus 952 plus 2258 1888?

You cannot since there is no visible operator before the last number.


Which operator not overloaded in c plus plus?

The if statementex.if (index < 5)printf("Index is less than 5\n");elseprintf("index is greater or equal to 5\n");(You can also replace the "if" with a "?" and the "else" with a "?" -- no, that would be syntax error)


Which is more popular c plus plus or java?

Java


What is the operator is used to allocate the memory in c plus plus?

calloc operator,malloc operator