| 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
-
# When the user submits form, his information is sent to the corresponding servlet file because we've set the ACTION attribute to point ...
-
Syntax of JSP Scriptles are: <% //java codes %> JSP Scriptlets begins with <% and ends %> .We can embed any a...
-
JSP scripting elements let you insert Java code into the servlet that will be generated from the current JSP page. There are three forms: ...
-
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 ...
-
To simplify code in JSP expressions and scriptlets, you are supplied with eight automatically defined variables, sometimes called implicit o...
-
<%@page contentType="text/html" import="java.util.*" %> <!-- http://www.roseindia.net/jsp --> ...
-
Syntax of JSP Declaratives are: <%! //java codes %> JSP Declaratives begins with with .We can embed any amount of java c...
-
Accessing the Standard CGI Variables: To build the successful web application, you often need to know a lot about the environment in which ...
-
*When the HTTP client (e.g. a browser) sends a request, it is required to supply a request line (usually GET or POST). * If it wants to...
-
In this lesson we will learn about the various tags available in JSP with suitable examples. In JSP tags can be devided into 4 different typ...
Friday, March 6, 2009
Table Comparing C, C++ and Java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment