what is difference between c++ language and java language
Answer Posted / sakthi
C++ is partial object oriented language. we can able to
write program with out class.
Java is pure object oriented language. we can't able to
write program with out class.
java does not support pointer and multiple inheritance
concept. instead of multiple inheritance we are using
interface concept in java.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is abstraction with example?
What does and I oop mean?
What is class encapsulation?
Why do we use polymorphism in oops?
What is class in oop with example?
What is constructor in oop?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is overriding in oop?
What are the 4 pillars of oop?
What is interface? When and where is it used?
What is the oops and benefits of oops programming?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is meant by multiple inheritance?
Why do we need polymorphism in c#?
What is oops and why we use oops?