加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

Java中面向对象的Java概念

发布时间:2020-12-14 16:32:01 所属栏目:Java 来源:网络整理
导读:我一直在使用 Java很长一段时间,在一段时间内,我正在使用GWT(Google Web Toolkit)进行Web开发.它的优点是我有我的Java面向对象的结构,不用担心它如何被翻译成GWT – 让Google来处理它.我对 Javascript的了解是足够的,但不能在很大程度上用它进行大量的Web开
我一直在使用 Java很长一段时间,在一段时间内,我正在使用GWT(Google Web Toolkit)进行Web开发.它的优点是我有我的Java面向对象的结构,不用担心它如何被翻译成GWT – 让Google来处理它.我对 Javascript的了解是足够的,但不能在很大程度上用它进行大量的Web开发.
后来我决定要对 JavaScript进行更深入和更彻底的了解,这是一个真正的过山车 – 只是在我认为我得到某些东西的时候,有一些东西来证明我错了 – 我只是误解了.

比Stackoverflow更好地表达我的关注:我正在乞求一些资源和指针,它将是一些与以下Java概念相当的Javascript:

Class
instance of a class - object
Member variables
Getters
Setters
Abstract Class
Interface
Inheritance
Access Modifiers
Constructors

我知道这些概念,但正如我所说 – 我相信我有一些概念上的困难.如果有人可以指出一个真正的JavaScript大师在这里精确定位这些概念的尝试,我会很高兴.

解决方法

我和你一直在同一个任务,但是我不得不在整个地方刮去并获取知识.

所有这些科目都有超过stackoverflow的优秀职位,然后有MDN我也会建议对等流行图书馆的来源,如jquery.请参阅此源查看器http://james.padolsey.com/jquery/

这是伟大的John Resig的BRILLIANT交互式教程:
http://ejohn.org/apps/learn/

这里有一些非常好的SO帖子,帮助我更好地了解JS:

How to “properly” create a custom object in JavaScript?
What is the ‘new’ keyword in JavaScript?
Why is JavaScript prototyping?
Why is it necessary to set the prototype constructor?
Call base method in Javascript using Douglas Crockford’s functional inheritance
Help understanding jQuery’s jQuery.fn.init Why is init in fn
What does jQuery.fn mean?
Why ‘this’ resolution is so special in JavaScript?
What is the difference between call and apply?
Dynamic function call (apply)
JavaScript data formatting/pretty printer
Checking if a key exists in a JavaScript object?

这里有一些关于javascript的古怪的帖子和你不知道的东西:

Is it possible to reflect the arguments of a Javascript function?
function arguments
What is the !! (not not) operator in JavaScript?
How does this JavaScript/JQuery Syntax work: (function( window,undefined ) { })(window)?
Which equals operator (== vs ===) should be used in JavaScript comparisons?
Behavior of delete operator in javascript
var myArray =[],name;?
Why is null an object and what’s the difference between null and undefined?
Checking for null/undefined in JavaScript
What does the exclamation mark do before the function?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读