i can understand it when we want to implement polymorphism in c++ we use virtual functions and function overriding but when we want to implement polymorphism in java then we do not use virtual methods why.
in java we use simply reference object that can store the address and use function overring and polymorphism implements.
Basically my question is that what is the basic difference b/w c++ polymorphism and java polymorphism. plz give me the correct concept about this.
moaz.amin.37 -12 Junior Poster
Slavi 94 Master Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.