--%>

Explain Upcast

Upcast: It is a cast towards an object's ultimate super type - which is, `up' the inheritance hierarchy towards the Object class, for example:

        // Upcast from VariableController to HeaterController
        VariableController v;
        ...
        HeaterController c = v;

   Related Questions in Programming Languages

  • Q : Acknowledge inside a transaction Normal

    Normal 0 false false

  • Q : Explain the term QTP Environment

    Explain the term QTP Environment?

  • Q : CORBA allows high performance

    'CORBA was designed to allow high performance distributed applications to be written’. Discuss. Definitely, ’CORBA was designed to allow high performance distributed applications to be written’ because it provides:

  • Q : Explain Abstraction Abstraction : It is

    Abstraction: It is a simplified symbolization of something which is potentially quite complex. It is frequently not essential to know the precise details of how something works, is symbolized or is implemented, since we can still make use of it in its

  • Q : What is Unique Identifier and how do I

    What is Unique Identifier and how do I determine one?

  • Q : Explain Information hiding Information

    Information hiding: The practice of making sure that only as much information is exposed regarding the implementation of a class as is strictly needed. Hiding needless knowledge of implementation makes it not as much of likely that other classes will

  • Q : Explain Polling Polling : It is the

    Polling: It is the process of repeatedly testing until a situation becomes true. Polling can be incompetent when the time between tests is little compared with the time it will take for the condition to become true or right. A polling thread must slee

  • Q : Explain Window manager Window manager :

    Window manager: This is a window manager which provides a computer user with a virtual desktop having one or more windows and working regions in which individual programs might be run. Window managers permit the contents of a user's desktop to be arra

  • Q : Difference between the choice and list

    Illustrate the difference between the choice and list?

  • Q : Explain the term soft real-time Explain

    Explain the term soft real-time.