Category: Technical

Jun 27

METHOD OVERLOADING BEST PRACTICE – DO’S AND DON’T

METHOD OVERLOADING BEST PRACTICE – DO’S AND DON’T Let’s briefly understand what is Method Overloading, it is method with same name but with different arguments is called method overloading. Example of Method Overloading

  Must follow rules while doing method overloading 1)  Method Body should not be repeated in every method, don’t write same code in …

Continue reading

Permanent link to this article: http://zappmania.in/2012/06/27/method-overloading-best-practise-dos-and-dont.htm

Jun 27

What is Polymorphisms?

Polymorphism means one interface and many forms. Polymorphism is a characteristics of being able to assign a different meaning or usage to something in different contexts specifically to allow an entity such as a variable, a function or an object to have more than one form. There are two types of Polymorphism. Compile time: function …

Continue reading

Permanent link to this article: http://zappmania.in/2012/06/27/what-is-polymorphisms.htm