what is the difference between Cpp And Java
Answer Posted / segi reddy
1. cpp is platform dependent where as java is platform
independent.
2. #define, typedef are available in cpp where as in java
others are availble to achieve it.
3. goto statement is there in Cpp where as in java it is
not available.
4. there are 4 types of access specifiers are available in
java and in Cpp only 3 types are available.
5. No header files in Java.
6. no Pointers concept in java.
7. Destructors are not available in java
Is This Answer Correct ? | 29 Yes | 1 No |
Post New Answer View All Answers
Difference between arraylist and hashset in java?
what invokes a threads run() method? : Java thread
What is the function of character?
How can a gui component handle its own events in java programming?
Is java programming easy?
What are the core java topics?
What are the library functions in java?
What is immutability in java?
What are passing parameters?
Can we extend immutable class?
Explain thread in java?
What is subsequence of a string?
What is high level language in computer?
what is mena by object block any what is the use of that
How many types of methods are there?