what is the difference between Cpp And Java

Answer Posted / shankar

every one says java does not supports multiple inheritance
but in java the multiple inheritance will be done .by using
interface concept there the multiple inheritance will be
done.

cpp had pointers
java does not had pointers

Is This Answer Correct ?    70 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have two main methods in a java class?

534


Which variable is the independent variable?

530


What is the difference between @before and @beforeclass annotation?

527


When arithmeticexception is thrown?

573


Is an empty arraylist null?

591






What are the different types of constructor?

518


Define interface in java?

599


How do you remove spaces in java?

530


Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.

1601


What are data types in oop?

545


What is the difference between iterator and list iterator?

528


What is appletviewer?

561


Can an object be null?

541


Can we overload the main() method?

544


What does this () mean in constructor chaining concept?

552