OLAP

We are sharing our third question of the series in the form of comic, Please help our kid in the comic by sharing your answers through comments or Facebook  or Google plus or twitter[@CodeSpreadBlog]. We have selected answers from Gaurav and Swati as they both were correct. Thanks Guys!

Go Back! you don't even know the different ways to achieve polymorphism. | Mumma!!

Polymorphism Question @Pixton

Polymorphism can be achieved through method,operator overloading.The fundamental idea of polymorphism is that a compiler doesnt know which method to call during the compile time. It only knows during run time this is polymorphism by inheritance.

Answer by Gaurav @Pixton

Basically, polymorphism is categorised into 2 parts,i.e,compile time and run time. Compile time polymorphism can be achieved by 2 ways function overloading and operator overloading but in java operator overloading is not used. Runtime polymorphism can be achieved by function overriding.

Answer by Swati @Pixton

Good Luck for the next one!!!

Author: hershey

A passion for knowledge drives me to do programming, A passion for programming drives me to create something different, A passion for creation drives me to spread the knowledge.

Share This Post On

3 Comments

  1. nice superb explaination

    Post a Reply
  2. thanks for the tutorial
    I am having a problem.
    The feature “Create SQL server database” isn’t available , I can’t select it.
    Can you help, please ?

    Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

More from CodeSpread:

  • InvalidCastException, As and Is operatorInvalidCastException, As and Is operatorWhen we try to cast or convert an object, we sometimes fall into the trap of InvalidCastException. What is InvalidCastException? InvalidCastException: This exception is thrown when there is inval...
  • Interview Series: Multiple Inheritance Question- Answer Updated.Interview Series: Multiple Inheritance Question- Answer Updated.We are sharing our fourth question of the series in the form of comic, Please help our interview aspirant in the comic by sharing your answers through comments Facebook or Google plus or twitter[@C...
  • Concepts: S O L I DConcepts: S O L I DSOLID - Object oriented programming principles. May be its easy to forget these principles  but for creating a reusable code or maintainable code, people will always have to come back and check ...
  • Interview Series: 3 More Questions.Interview Series: 3 More Questions.We are sharing few more questions of the series in the form of comic, Please help our interview aspirant in the comic by sharing your answers through comments, Facebook or Google plus or twitter[@C...
  • Interview Series: DLR Question-Answer UpdatedInterview Series: DLR Question-Answer UpdatedWe are sharing our second question in the form of comic, Please help our guy in the comic by sharing your answers through comments or Facebook or Google plus or twitter. We have received the answe...
  • Why Multiple Inheritance is discouraged?Why Multiple Inheritance is discouraged?Hi Guys, This is Sathish Again,Today we will discuss why most of the higher languages eliminates Multiple Inheritance? Most of you guys already know that multiple inheritance is not available for...
  • Consider Structs Consider Structs While taking birth in programming world, we all had our own experiences of learning; begin working on a new language or OOPS concepts or experimenting with a new tool or compilers. One of such expe...
  • Interview Question SeriesInterview Question SeriesWe have shared our experiences with our readers from quite sometime. Today, when one of our readers asked us to write some interview questions then we realized that we should take an initiative and...