Java Programming Thought reading notes _ Chapter III

Source: Internet
Author: User

The section on = = mentioned in this chapter, a complete experiment is as follows:

1 classTest {2      Public Static voidMain (string[] args) {3Integer i =NewInteger (47);4Integer j =NewInteger (47);5Integer I1 = 47;6Integer J1 = 47;7         intI2 =NewInteger (47);8         intJ2 =NewInteger (47);9         inti3 = 47;Ten         intJ3 = 47; One          ASystem.out.println (i = =j); False -System.out.println (I1 = =J1); True -System.out.println (I2 = =J2); //true  theSystem.out.println (i3 = =J3); //true  -System.out.println (I1 = =J2); //true  -System.out.println (I1 = =J3); //true  -System.out.println (I2 = =J3); //true  +          -String s =NewString ("Java"); +String S1 =NewString ("Java"); AString s2 = "java"; atString s3 = "Java"; -System.out.println (s = =S1); //false  -SYSTEM.OUT.PRINTLN (S2 = =S3); //true  -     } -}

Java Programming Thought reading notes _ Chapter III

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.