Interviewer And Interviewee Guide

Programming Interview Question:

Can a method be overloaded based on different return type but same argument type in programming?

Submitted by: Administrator
No, method can not be overloaded because the methods can be called without using their return type in which case there is ambiguity for the compiler in programming languages.
Submitted by: Administrator

Read Online Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.