一些简单的问题... [英] some simple questions....

查看:96
本文介绍了一些简单的问题...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)名称相同但siguarates不同的两个或多个方法称为方法重载
2)具有相同名称和相同签名的两个或多个方法称为方法覆盖.
i)我的问题是,如果方法的返回类型不同,我们会说方法已重载或方法被覆盖?
ii)在大学数据库中,大学是否是完整的?
iii)是否存在不需要标准化的任何秘密?

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?

推荐答案

^ ]


i)返回类型必须相同,否则会出现编译器错误.

ii)在大多数情况下,实体是系统中名词的通用名称,答案是肯定的.

iii)通常,在报表系统中,您需要对数据进行非规范化以获得更好的性能,而不必进行联接.
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.


这篇关于一些简单的问题...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆