Getting Started with Java

Source: Internet
Author: User

1. Object: is a self-contained entity identified with a set of recognizable attributes and behaviors.

2. Class: Is the abstract collection of objects that have the same properties and functionality.

3. Construction method: Instantiate the class.

4. Method overloading: Provides the ability to create multiple methods with the same name, but these methods require different parameter types.

5. Properties and Modifiers:

--field (data) public/private

6. Encapsulation: Each object contains all the information needed to operate, so the object does not have to rely on other objects.

7. Inheritance: Is-a

Abstract Common properties and methods (abstract class)

8. polymorphic

Polymorphic representations of different objects can perform the same actions, but they are performed by their own implementation code.

  • The subclass appears as the parent class.
  • Subclasses are implemented in their own way when working.
  • When a subclass appears as a parent, the properties and methods that are unique to the subclass are not available.

--run-time type.

From "Big Talk design mode"

Getting Started with Java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.