Java Crash Manual 1.5

Source: Internet
Author: User

Here are some additions to the 1.0 release.

0.Basic Concept

Main method in Java program:main

1.object-oriented programming

1.0 Concept

Abstract:

Package: Object provides function interface externally

Access rights: Private, public, protected, default

Inheritance: Child class, parent class, inheritance property \ Method

Polymorphism: A method of a subclass that masks a method of a parent class

1.1 Application

Overwrite: Subclasses redefine a method with the same name as the parent class

Super Keyword: Explicitly the method that calls the parent class

This keyword: explicitly the method that invokes the current subclass

Overloading: Overloading of methods

2.Class

2.0 Constructors

2.1 Abstract class--abstract method

Interface

Java Crash Manual 1.5

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.