#1
18th June 2011, 08:04 PM
|
|||
|
|||
Main difference between C, C++, Java in?
could u please tell me the main difference between c,c++,java in interveiw oriente?d
|
#2
12th July 2011, 03:09 PM
|
|||
|
|||
![]()
C,C++ and Java all these are languages.
C is a middle level language because it stands in between High level languge and Low level language.Programs written in C are efficient and fast.It is used in structured programming. C++ is derived from the C language.C++ uses compile-time binding which means that the programmer must specify the specific class of an object.C++ programs are fast and efficient, qualities which helped to make C an extremely popular programming language. Java is an object oriented language built upon C and C++.It drives its syntax from C and its object oriented features are influenced by C++.It can be used to create application and applets. |
#3
21st July 2011, 10:21 AM
|
|||
|
|||
![]()
i have c and c and java more difference
|
#6
11th August 2011, 11:17 PM
|
|||
|
|||
![]() Quote:
This are the basic language for any programming language. C is a structure oriented programming language. C++ is a object oriented programming language. java is a purely oriented programming language. Difference between C and Java :- Java doesn't include the c unique statement keywords and size of and typedef. Java doesn't contain the Data types struct and Union. Java doesn't defined the types of modifiers keywords signed,unsigned,auto,register and extern. Java doesn't support the pointers type. Difference between Java and C++ :- Java does not use the pointers. Java doesn't support global variables. There are no header files in java. Java doesn't support multiple inheritance. |
#7
13th August 2011, 07:44 PM
|
|||
|
|||
![]() Quote:
C++ is object oriented programming language and the program is made from the combination of different classes.c++ is advanced version of C programming,it rectifies the defect in the C programming. java is a combination of both c and c++ and is used now a days for programming.Its is very much efficient when compared to C and C++. |
#8
13th August 2011, 10:55 PM
|
|||
|
|||
![]()
C was the C++ predecessor. As it's name implies, alot of C remains in C++. Although not actually being more powerful than C, C++ allows the programmer to more easily manage and operate with Objects, using an OOP (Object Oriented Programming) concept.
C++ allows the programmer to create classes, which are somewhat similar to C structures. However, to a class can be assigned methods, functions associated to it, of various prototypes, which can access and operate within the class, somewhat like C functions often operate on a supplied handler pointer. Although it is possible to implement anything which C++ could implement in C, C++ aids to standarize a way in which objects are created and managed, whereas the C programmer who implements the same system has alot of liberty on how to actually implement the internals, and style among programmers will vary alot on the design choices made. In C, some will prefer the handler-type, where a main function initializes a handler, and that handler can be supplied to other functions of the library as an object to operate on/through. Others will even want to have that handler link all the related function pointers within it which then must be called using a convention closer to C++. To finish this discussion, C++ applications are generally slower at runtime, and are much slower to compile than C programs. The low-level infrastructure for C++ binary execution is also larger. For these reasons C is always commonly used even if C++ has alot of popularity, and will probably continue to be used in projects where size and speed are primary concerns, and portable code still required (assembly would be unsuitable then) |
#9
19th August 2011, 06:16 PM
|
|||
|
|||
![]() Quote:
c is a structured language.its a top-down approach.c programming is hard as compare to c++ and java.its not based on the principle of object oriented method. c++ and java are the object oriented languages.java is a pure object oriented language.java use c syntax and methods of c++. as compare to difficulty,c is the hardest programming and java is the simplest programming.java is a very simple,robust,portable,platform independent language. so some how there are some similarities and dissimilarities. i hope u get ur answer. regards amaan |
#11
12th September 2011, 11:11 AM
|
|||
|
|||
![]()
java is a platform independent language, it is a robust bottom to up approach language.
java is a simple language, it generates a byte code which is responsible for the independency of the language. c++ is a object oriented language, it is a bottom to up approach language, c language is the base of all the programmining language. it the software student must study about the c language. it is a top to bottom approach language. best of luck. |
#13
2nd October 2011, 02:45 PM
|
|||
|
|||
![]() Quote:
I think the main difference between C or C++ and Java in Object-oriented. In Language C or C++, we can extend one more classes. There are many problems from the method of extending, like the sequence of initializing the class before using it and the sequence of destroying the class. It's very hard for the beginner. So Java doesn't allow extending from more one class. On the other side , there is the same in C++ and Java. C is a procedure oriented language . C++ is c with object oriented language. Java is truely object oriented. Thanks |
|