I have been trying to learn the basics of Java OO. I have read the wiki post on the subject and hve gone throught he many links on that page (and I will continute to read and absorb the info).
After some reading I have been going to Jack's examples and I have some questions about the ImageChooser.
Two lines have my interest:
var ImageChooser = function(config){
ImageChooser.prototype = {
Can someone help explain the purpose of each (maybe contrasting them)? I have a vague idea but I could use someone elses perspective.
Thanks for any help.
After some reading I have been going to Jack's examples and I have some questions about the ImageChooser.
Two lines have my interest:
var ImageChooser = function(config){
ImageChooser.prototype = {
Can someone help explain the purpose of each (maybe contrasting them)? I have a vague idea but I could use someone elses perspective.
Thanks for any help.

Java OO ImageChooser 示例解析
本文探讨了Java面向对象编程中ImageChooser类的实现细节,重点关注构造函数与原型定义的区别,通过具体示例帮助理解Java OOP的基本概念。

被折叠的 条评论
为什么被折叠?



