Study Daily day03

Original teacher link

Computer hardware

  • cpu
  • RAM
  • hard disk

Unit of data

  • bit
    • A bit is a 0 or a 1 that the computer can recognize
  • Byte
    • 1Byte=8bit
  • 1GB
    • 1024MB

Identifier naming convention

  • Identifier command
    • See the name
  • Multi-word naming
    • Word split userloginflag
      • Underscore
        • user_login_flag
      • Little Hump Nomenclature
        • userLoginFlag
      • Big Hump Nomenclature
        • UserLoginFlag

Identifier naming rules

Subsequent dollar number

  • Constituent elements
    • digital
    • letter
    • Underscore
    • Dollar sign
  • beginning
    • Cannot start with a number
  • Key words
    • Cannot have the same name as the keyword

type of data

  • Basic data type

    • Integer
    • Decimal
    • Boolean
    • character
  • Reference data type

    • String
    • Array
    • Object
  • Integer type

Insert picture description here

img

Decimal type

Insert picture description here

  • Boolean type

    Insert picture description here

  • Character type

    Insert picture description here

  • String type

    Insert picture description here

Import external java files

https://www.ixigua.com/6886829371437351432/?utm_source=xiguastudio

Find and replace

https://www.ixigua.com/6886847414318137870/?utm_source=xiguastudio

Guess you like

Origin blog.csdn.net/Lululovesickness/article/details/109301783