Differences between structured and object-oriented languages

Source: Internet
Author: User

The Java language is an object-oriented language, and C language is a structured language. And the difference between them is structured programming

is a whole time mainly, in dividing it into a small function to write out, and object-oriented language trial teaching a program in the

The elephant takes the fuss and describes the objects in code to complete the program. This is also the Java language relative to the C language

The reason that programmers like it more. It relieves the programmer of the amount of code.

Knowing this, we should know how to instantiate an object. It is in the form of this:

public class employee{}

There are a total of 3 things: access modifiers, data types, and object names.

Differences between structured and object-oriented languages

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.