Click here to Skip to main content
15,901,864 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
1)Two or more methods with same name but different siguarates is called method overloading
2)two or more methods with same name and also the same signatures is called method overriding.
i)my question is that if return type of methods is different we say the method is overloaded or method override?
ii) In college database is college is entiy or not?
iii)is any secnario exist in which we have no need of normalization?
Posted
Updated 2-Sep-11 0:16am
v3
Comments
Prerak Patel 2-Sep-11 6:17am    
Read the book and get the answer.
R. Giskard Reventlov 2-Sep-11 6:17am    
We don't do homework: ask your tutor if you don't understand.
Legor 7-Sep-11 5:59am    
What college database ??

 
Share this answer
 
i) Return types must be the same otherwise you get compiler error.

ii) Entity is a general name for nouns in your system in most cases the answer is yes.

iii) Mostly in reporting systems you denormalize your data to get better performance and you don't have to do joins.
 
Share this answer
 
Comments
Uday P.Singh 2-Sep-11 6:38am    
I am sure in the first point you are talking about method overriding not method overloading.
Philippe Mori 3-Sep-11 8:50am    
You cannot have a function that differ only by return type (except in the particular case of overriding where a derived class might be used and in C#, it is only supported starting with C# 4.0).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900