14-character string and Text Processing

Source: Internet
Author: User

A. toupperinvariant ();
VaR b1 = A. Equals ("A", stringcomparison. ordinalignorecase );
= Compare the (HEAP) memory address of the objects stored in the variable (stack) memory to determine whether the addresses of the two objects are the same, that is, whether the addresses of the two objects are the same. Compare pointer operations in the true sense.
Equals is used to compare whether the content of two objects is equal. Because all classes inherit from the java. Lang. Object Class, equals applies to all objects,
If this method is not overwritten, the method in the object class is called, while the equals method in the object returns the = judgment.
Thoroughly understand character encoding (UNICODE, MBCS, UTF-8, UTF-16, utf-32, big endian, little endian ...)
46360021
(1) Definition of "Byte"
Byte is a measurement unit, indicating the amount of data. It is a measurement unit used by Computer Information Technology to measure storage capacity.
(2) Definition of "characters"
A character refers to the text and symbols used in a computer, such as 1, 2, 3, A, B, C ,~! · # ¥ % ...... -* () -- +, And so on.
(3) "Byte" and "character"
They are not a single-level concept, so there is no "difference" between the two. In different encodings, the correspondence between characters and bytes is different:
Securestring indicates the text to be kept confidential. The text is encrypted for the purpose of confidentiality and deleted from the computer memory when it is no longer needed. This class cannot be inherited

14-character string and Text Processing

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.