Preliminary understanding of java--fourth-functions-two explicit

Source: Internet
Author: User

First, we start talking about when to use a method.

Don't write a lot of code into the main function again, the main function is just a portal.

Here are two things, one is two clear, but how to implement the Code interval function.

Two explicit, one explicitly is what the result of the call function is, mainly focused on the type's determination. The other is explicitly a parameter, there is no argument, there is the number of arguments, the type. These can be collectively referred to as parameter lists.

As for how to implement the function in the code area, it is free to play.

Preliminary understanding of java--fourth-functions-two explicit

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.