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
What is a scalar value in sql?
What is a natural join?
How do I run a pl sql procedure in sql developer?
How to start the command-line sql*plus?
Difference between table function and pipelined function?
Is nosql relational?
explain normalization concept? : Sql dba
What packages are available to pl/sql developers?
Explain what is a subquery ?
Why does sql need a server?
How exception is different from error?
what are null values? : Sql dba
Is sql injection illegal?
Explain the the delete statements in sql?
Determine if oracle date is on a weekend?