Can 2 functions have same name & input parameters but
differ only by return datatype ?

Answers were Sorted based on User's Feedback



Can 2 functions have same name & input parameters but differ only by return datatype ?..

Answer / vasu

Yes, It is possible in the packages (packaged functions).
You can override the function. It works perfect.
But the same if you try on standalone this doesn't work.
Object must be unique.

Is This Answer Correct ?    8 Yes 2 No

Can 2 functions have same name & input parameters but differ only by return datatype ?..

Answer / kiran kumar

No.

Is This Answer Correct ?    4 Yes 0 No

Can 2 functions have same name & input parameters but differ only by return datatype ?..

Answer / matt mcpeak

You can create package with 2 functions that differ only by
return type, but anyone attempting to call the function
will get a PLS-00307 error (too many declarations of 'A'
match this call)

Is This Answer Correct ?    1 Yes 0 No

Can 2 functions have same name & input parameters but differ only by return datatype ?..

Answer / pr@$@d

Vasu Answer is perfect.

Is This Answer Correct ?    2 Yes 2 No

Can 2 functions have same name & input parameters but differ only by return datatype ?..

Answer / ginna

Yes. We can

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle Apps Technical Interview Questions

In which directory your flatfile is given?if u connected different instance where it is find?

3 Answers  


can we execute one concurrent program through another concurrent program?

1 Answers   KPIT,


Plz anybody send me Technical specification for AP Interface

0 Answers   Satyam,


How to register a form and stored procedure in oracle apps

2 Answers   Mastek, TCS,


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

0 Answers   Cap Gemini,


Can we run a package with out specification?If yes how?

4 Answers  


WHAT IS REFCURSOR IN ORACLE ?

6 Answers  


about TCA architecture

1 Answers   TCS,


What is the maximum number of statements that can be specified in a trigger statement?

1 Answers   Oracle,


i have 100 pages output. i want to print 10 records per page in Template?

2 Answers   Sierra Atlantica,


which is the table for storing organization information?

9 Answers   Infosys, Scan Steel,


why r u move in the cus_top only why not move another top

4 Answers   Wipro,


Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (793)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)