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
Explain the purpose of garbage collection in Java?
What are the four integer types supported by java?
Is ruby built on java?
How will you reverse a singly-link list?
What is java util collection?
Is char a method in java?
How much is a java license?
What are the differences between processes and threads?
What is a variable and constant?
What is the difference between array list and vector in java?
How do you read a char in java?
How do you square a number?
What are the types of sockets in java?
What is string literal in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.