| FEATURE | C | C++ | JAVA |
| Paradigms | Procedural | Procedural, OOP, Generic Programming | OOP, Generic Programming (from Java 5) |
| Form of Compiled Source Code | Executable Native Code | Executable Native Code | Java bytecode |
| Memory management | Manual | Manual | Managed, using a garbage collector |
| Pointers | Yes, very commonly used. | Yes, very commonly used, but some form of references available too. | No pointers; references are used instead |
| Preprocessor | YES | YES | NO |
| String Type | Character arrays | Character arrays,objects | objects |
| Complex Data Types | Structures, unions | Structures, unions&classes | classes |
| Inheritance | N/A | Multiple class inheritance | Single class inheritance, multiple interface implementation |
| Operator Overloading | N/A | YES | NO |
| Automatic coercions | Yes, with warnings if loss could occur | Yes, with warnings if loss could occur | Not at all if loss could occur; msut cast explicitly |
| Variadic Parameters | YES | YES | NO |
| Goto Statement | YES | YES | NO |
Popular Posts
-
Learning about Events Visual Basic is "Event Driven" language. What does it mean? Everything that happening, launch an event. You...
-
Learning about Parameters Parameters are variables that being passed to a Sub. Look at the first line of the Command Button's Click even...
-
Learning about Variables Using Variables is one of the most basic and important subjects in programming, so this lesson is very important. V...
-
Learning about Events (Continue) Lets program the Form_Load event. "MsgBox" is Visual Basic command that launch a message box. for...
-
JSP pages are high level extension of servlet and it enable the developers to embed java code in html pages. JSP files are finally compiled ...
-
OPERATORS: There are 7 operators they are: 1.Arithmetic operators : +,-,*,/,% : addition,subtraction,multiply,division...
-
INTRODUCTION TO 'C': C is a programming language developed at AT & T's Bell laboratories of USA in 1972.it was designed by d...
-
SQL aliases can be used with database tables and with database table columns, depending on task you are performing. SQL column aliases are u...
-
The SQL COUNT aggregate function is used to count the number of rows in a database table. The SQL COUNT syntax is simple and looks like this...
-
SYMBOLIC CONSTANTS OR MACRO: In this #define is a macro used for a constant value to be assigned in the program. for example: pi its value i...
Friday, March 6, 2009
Table Comparing C, C++ and Java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment