Download Java and java Official Website

Source: Internet
Author: User

Download Java and java Official Website

Basic Features of object-oriented language:
1. Everything is an object.
2. Programs are a collection of objects. They send messages to each other to tell each other what to do.
3. Each object is its own storage composed of other objects.
4. Each object has its type.
5. All objects of a specific type can receive the same message.

Java access restrictions: public, private, protected.Access restriction not setIs the package access permission.
C ++ is not dynamically bound by default (add virtual). Java is by default, and is more oriented to objects.
Upward Transformation(Multi-state call ),Downward Transformation(Container retrieval Object-parameterized type)
Java Dynamic Memory Allocation Method: all objects are inherited from a single base class Object and can only be created on the stack.
For example: String s = new String ("123"); s in the stack, "123" objects are in the heap, and s points to "123 ".
Concurrent Programming: Java built-in, shared resources: a task locks a resource, completes its tasks, and then releases the resource lock so that other tasks can use this resource.

Object-oriented: Indicates the objects in the problem space, and messages sent to these objects to indicate the behaviors in the space.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.