作业帮 > 综合 > 作业

java语言中late binding和early binding是什么意思?

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/10 07:03:37
java语言中late binding和early binding是什么意思?
To solve the problem,object-oriented languages use the concept of late binding.
The function call generated by a non-OOP compiler causes what is called early binding,a term you may not have heard before because you’ve never thought about it any other way.
前期绑定主要是final声明的,因为它不能被继承,在编译时就知道它的值.
而其它的,因为可能被继承或实现,涉及到多态,不能在编译时确定,所以这用到后期绑定