Object oriented concept in Java

I've been using java for a long time. For a long time, I'm using GWT (Google Web Toolkit) for web development Its advantage is that I have my java object-oriented structure and don't worry about how it is translated into GWT - let Google handle it I know enough about JavaScript, but I can't use it for a lot of web development

Express my concern better than stackoverflow: I am begging for some resources and pointers, which will be JavaScript equivalent to the following Java concepts:

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

I know these concepts, but as I said - I believe I have some conceptual difficulties I would be happy if someone could point out a real JavaScript master's attempt to pinpoint these concepts here

Solution

You and I have been on the same mission, but I have to scrape off the whole place and acquire knowledge

All these subjects have excellent positions over stackoverflow, and then there is MDN. I will also suggest peer popular library sources, such as jQuery See this source viewer http://james.padolsey.com/jquery/

This is the great John Resig brilliant interactive tutorial: http://ejohn.org/apps/learn/

Here are some very good so posts to help me better understand 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?

Here are some weird posts about JavaScript and things you don't know:

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?

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>