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 exception handling is done in advance pl/sql?

982


what is a trigger in mysql? Define different types of trigger. : Sql dba

1069


What will you get by the cursor attribute sql%notfound?

1075


What is use of term?

1068


Advantages and disadvantages of stored procedure?

1122


How do you declare a constant?

960


How we can update the view?

1049


how many columns can be used for creating index? : Sql dba

946


What is audit logout in sql profiler?

1025


How do I view stored procedures?

975


How does postgresql compare to oracle/db2/ms sql server/informix?

1034


What are tables and fields?

1033


Which is faster union or join?

972


what does the t-sql command ident_incr does? : Transact sql

1078


What is character functions?

1061