Answer Posted / rajeswari.v
The main difference between the c++ & java is
java have
1.Encapuslating
2.Interfaces
3.Web applications
4.Appletes
5.Swings
6.Garbage collector
7.Unique compiler
8.GUI programing
9.Reusable,Reliable,more secure than the c++
10.Persistence supports "Database" connection allows
11.Platform indepent it works on any type of operating system
12.Multithreading
13.java does not requrie any header files,but it uses import
statement instead of #include statement.
14.java have 3 comment
a) Single line comment
b)Multiple line comment
c)Documentation
The above all are not support c++
C++ are
1.Pointers
2.Templtes
3.Destructor to deallocate memory
4.Multiple inheritence
5.Friend function
6.Virtual function
7.Several compilers
8.Presedessors& any data types such as enum,struct,unior
9.Operator overloading
10.Structors
11.Goto operator
12.Automatic type conversion
13.Unsigned integer
14.c++ have 2 comment
a)Single line
b)Multiple line
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Why do we use inheritance?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Is oop better than procedural?
What is object in oop with example?
What is overriding in oop?
Whats is abstraction in oops?
what are the ways in which a constructors can be called?
what is difference between class template and template class?
explain sub-type and sub class? atleast u have differ it into 4 points?
Get me a number puzzle game-program
Explain virtual inheritance?
is there any choice in opting subjects like 4 out of 7
What does and I oop mean in text?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is overriding vs overloading?