201671010130 2016-2017-2 "Java Programming" Nineth Week study Summary

Source: Internet
Author: User
Tags assert

---restore content starts---

Learning Summary:

    • Exceptions are divided into (non-fatal and fatal exceptions (Programs cannot be resolved: internal and resource exhaustion errors))
    • Custom exception classes are derived from the Exception
    • catch exception with try statement p271
    • Getmassage () method // for obtaining information about exceptions
    • Assertion: The assert keyword assert condition: expression; (condition is false exception occurs)
    • enable assertion required on windows->preference->java->installed->jre ( add -ea)

There is an unresolved problem with learning:

Programming the last question 25 lines do not know how to change I have the Internet and discussion with classmates but still did not find out why, I hope the teacher can help me to point out why there are 25 lines, thank you.

201671010130 2016-2017-2 "Java Programming" Nineth Week study Summary

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.