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 mean by forward declaration and where we'll use it.

Answer Posted / venkat

A forward declaration looks like the package definition
part but is inside the bode.

e.g.

procedure A is
begin
B;
end A;

procedure B is
begin
null;
end B;

will not work, because during call to B B is still unknown
(1 Step compiler) therefore we need a forward declaration:

procedure B;

procedure A is
begin
B;
end A;

procedure B is
begin
null;
end B;


now we can compile

Is This Answer Correct ?    30 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to sort the rows in sql.

1123


How many sql core licenses do I need?

995


What is a data manipulation language?

1078


Explain cursor types?

1085


what is the bond code in materialized view?

3060


What is the difference between cluster and non-cluster index?

1158


What is a unique constraint?

1125


What is indexing in sql and its types?

1135


How many columns should be in an index?

1015


Is sql free?

1027


Mention what are different methods to trace the pl/sql code?

1296


What is foreign key in sql with example?

975


How can you create an empty table from an existing table?

1128


Explain exception handling in pl/sql?

1083


What does bitemporal mean?

1115