How does java differ from c and c++?
Answer / Harish Kumar Malik
Java is a high-level object-oriented programming language that is platform independent (written in Java, runs everywhere), while C and C++ are low-level procedural/object-oriented languages designed for system programming. Java uses automatic memory management (garbage collection) unlike C and C++.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
What is the use of the this pointer?
Can a constructor throw a exception? How to handle the error when the constructor fails?
Can I learn c++ as my first language?
How would perform Pattern Matching in C++?
When you overload member functions, in what ways must they differ?
How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
Which field is used in c++?
Why was c++ created?
In c++, what is the difference between method overloading and method overriding?
Define stacks. Provide an example where they are useful.
What is class in c++ with example?