Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is FORWARD DECLARATION in Packages?

Answer Posted / palaniraman balasubramanian

Special sub program unit declaration called forward
declaration, Consider below the example

In this pacakage, the first program unit is calling the
calc_rating but calc_rating is defined last in the package;
if we are not declared the fwd declaration then it will
raise the error While compiling this package. Package
compilation always happens top to bottom. For resolving
this compilation issue, you should declare the fwd
declaration.

CREATE OR REPLACE PACKAGE BODY forward_pack
IS
PROCEDURE calc_rating(. . .); -- forward
declaration
PROCEDURE award_bonus(. . .)
IS -- subprograms
defined
BEGIN -- in alphabetical
order
calc_rating(. . .);
. . .
END;

PROCEDURE calc_rating(. . .)
IS
BEGIN
. . .
END;

END forward_pack;

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how to find the custom directory in front end?

1111


How can a process be deployed in soa?

1269


pls send me out bound code of supplers,site,bankiformation code pls as soon as

2266


q)what are the validations in sql*loader

2405


List of all the modules under Manufacturing, Finance and Distribution in oracle applications?

2219


In oracle application how do you debug or trace errors?

1115


how to print multi lay outs,muti currency,muti language in xml publisher

12289


What is count(*) from po_vendors(any table)?

1089


WHAT IS CUSTOM VIEW AND CUSTOM COMPONENT?

3065


Tell me how to debug the report?

1125


What is a flexfield? List out its types.

1170


what are the balancing segments in AR?

2101


can we get profile values in report without using user exists is it possible how?

2884


Hi, Anybody please send me the Oracle APPS 1i technical interview questions (Real time) as wel as sample resume also?

2616


Plz anybody send me Technical specification for AP Interface

2564