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

Explain what are the tables of auto invoice?

0 Answers  


hi gurus my name is ramesh i was completed orcale apps technical trainning i wnt to put 3+yrs experience is it correct r not ,if any freshers jobs are available in market pls suggest me. my mail id rameshmcaou@gmail.com and contact no is 9000342411

3 Answers   Oracle,


How many phases of implementation and what are those.

2 Answers   Accenture,


CAN YOU CUSTOMISE THE COUTOMISE CUS_TOP

0 Answers   IBM,


Do you know what is applysys in oracle application database schema, what is apps?

0 Answers  






Can u suggest me the best institute for Oracle apps Technical in Hyderabad?

16 Answers  


AOL?

4 Answers  


What is secuirity's in R12 features.

1 Answers   KPIT,


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

4 Answers   Wipro,


what are stock locators and how to define them? name the tables where the stock locator information is stored. at least two.

3 Answers   Scan Steel,


about TCA architecture

1 Answers   TCS,


How you will Diaplay the Company LOGO In report.Can anyone knows please give solution

8 Answers   TCS,


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)