Define a primitive data type: Difference between revisions
Content added Content deleted
m (→{{header|C++}}: lang tag) |
m (→{{header|Java}}: lang tag; (maybe this example is not so correct, but anyway there's no way of doing operator overloading like c++)) |
||
Line 472:
{{incorrect|Java|This doesn't actually create a primitive in Java. Also, many of the methods and constructors are the bound checks.}}
int value;
Line 550:
return value + "";
}
}</lang>
=={{header|Modula-3}}==
|