English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

6 answers

If you throw in C/C++ to the mix of comparisons, they alike only in a superficial way; in areas other than codes Java and C# stood aside in a category of their own.

Java is a platform that was designed to leverage the use of Internet, it took an extra step further than runtime and made the entire program and its running environment independant of the actual hardware.

C# has a lot of in common with Java, since it arose from the failure Microsoft had in hijacking Java (but it was successful in making JavaScript its own brand of JScript), it has many technical equivelency from Java, but the language itself has a lot of hybrid features emulating whatever languages came before it.

2006-09-23 10:42:32 · answer #1 · answered by Andy T 7 · 1 0

C:
C was created in the 1970s by Kerningham and Ritchie

C++:
In the 1980s the concept of object oriented programming became popular, B. Stroustrup created C++ by adding to the C language extensions to make it object oriented while keeping compatibility with the existing C programs

Java:
In the 1990s designers at Sun Microsystems found that Object oriented programming in C++ was tricky because of the compatibility with C and they created Java that was fully Object Oriented and additionally is running in a virtual Machine and has a garbage collecting that eases the task of memory management

C#
Microsoft desired to extend and improve Java but since this lead to legal conflicts with Sun they created a new language (C#) very similar to Java (also running in virtual machine and using garbage collection) but having some improvements in the syntax and more easily integrated in the windows environment

2006-09-23 17:41:07 · answer #2 · answered by cd4017 4 · 1 0

C is (loosely) derived from Algol series of languages which introduced a structured approach to programming. C++ is the object oriented version of C. Java is influenced by C++ but intended to be compiled to run on Java Virtual Machine which allows the same program to be executed on multiple operating systems, rather that native code.

C# is the Microsoft version of C++/Java. Arguably it was introduced to try and fragment the market. Microsoft tried to adapt the Java Virtual Machine to break its conformity and threat to Microsoft’s Component Object Model. They were sued and lost. C# works like Java in that is can run on non Windows machines.

2006-09-23 18:53:46 · answer #3 · answered by dt01pqt_pt 2 · 1 0

There are 3 categories here:

Procedural languages: (C)
Hybrid procedural/Oop (C++)
and Oop (Java and C#)

Furthermore, Java and C# were designed to be intrinsically cross platform, by running on top of runtime environments. While c and c++ are designed to compile to native object and machine code, Java and c# were designed to compile to bytecode.

Syntactically, they are all very similar, and originate from c and c++. Historically, c++ was designed to add object oriented programming features to c. Java syntax is a subset of c++ syntax. Java is fully oop in that it hides underlying memory allocation from the programmer, where as in c and c++ you handle the allocation of memory yourself.

c# was created by microsoft specifically to compete with Java. The origins of that competition can be traced back to a fight between microsoft and Sun over custom extensions microsoft wanted to add to Java for use on its Windows OS. Sun understandably sued Microsft because those changes entirely defeated the basic premise of java which was: Write once, run anywhere. In typical microsoft fashion they went and invented their own "better than java, java" which is c#.

With that said, c# was designed by a famous Danish computer scientist (Anders Hejlsberg) who started out at Borland, and was the designer of Turbo Pascal and Delphi. c# has a lot of converts, especially when your focus is developement for microsoft OS's.

2006-09-23 17:20:25 · answer #4 · answered by Gizmo L 4 · 1 0

they all are extended type of c with some new abelity which each of them has.

2006-09-23 18:49:33 · answer #5 · answered by hrb_ a 2 · 0 0

they were made by your mother

2006-09-23 17:13:49 · answer #6 · answered by roger c 2 · 0 2

fedest.com, questions and answers