OOPs Concepts
Programming and Technical
Programming
Definition
What is static and dynamic binding?
Read Solution (Total 3)
-
- a characterset supported by a language.
c++ supports ASCII charset consists of 256 characters
java supports UNICODE charset consists of 2^16 characters - 11 years agoHelpfull: Yes(2) No(1)
- Static binding in Java occurs during Compile time while Dynamic binding occurs during Runtime. 2) private, final and static methods and variables uses static binding and bonded by compiler while virtual methods are bonded during runtime based upon runtime object
- 9 years agoHelpfull: Yes(0) No(0)
- Static Binding also known as Constructor overloading is a form of compile time polymorphism. It is one where the constructors which are special member methods have the same name as the class name but with either different number or return type of parameters. The method signature is also different.
Dynamic Binding also known as Run time polymorphism is one where the functions in the base and derived classes have the same name and same number and return type of parameters. It should also have a widening specifier or the same specifier though narrow specifiers are not allowed. - 9 years agoHelpfull: Yes(0) No(0)
OOPs Concepts Other Question