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
What are the advantages of java over C++?
What is a generic type?
How do you create a sop?
What do you mean by an interface in java?
How do you read a char in java?
When can you say a graph to be a tree?
What is the purpose of nested class in java?
What is java objectoutputstream?
How many types of parsers are there?
What is the difference between a vector & an array list?
What data type is true or false?
what are different ways in which a thread can enter the waiting state? : Java thread
What is the use of StringTokenizer class?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
Can we write multiple catch blocks under single try block?