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
Is minecraft 1.15 out?
How to find the largest value from the given array.
Can main() method in java can return any data?
What is the static field modifier?
What are the 7 types of characters?
What string is utf8?
Is empty list java?
Explain about wait() method?
Why put method is idempotent?
What is jrmp?
What is the difference between sop and work instruction?
What is the difference between an array and an array list?
Which category the java thread do fall in?
What are the benefits of java?
Is binary a low level language?