ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 02 May 2017 My Price 8.00

Consider the following C++ skeleton program

Consider the following C++ skeleton program:

class Big {

   int i;

   float f;

   void fun1() throw int {

      ...

      try {

         ...

            throw i;

            ...

         throw f;

         ...

      }

      catch (float) {

      ...

      }

   }

}

class Small {

   int j;

   float g;

   void fun2() throw float {

      ...

      try {

         ...

         try {

            Big.fun1();

            ...

            throw j;

            ...

            throw g;

            ...

         }

         catch (int) {

            ...

         }

      }

      catch (float) {

         ...

      }

   }

}

In each of the four throw statements, where is the exception handled?

Note that fun1 is called from fun2 in class Small.

Answers

(11)
Status NEW Posted 02 May 2017 05:05 AM My Price 8.00

-----------

Not Rated(0)