zoukankan      html  css  js  c++  java
  • 关键字

    1、2:关键字

    关于java语言当中的关键字:

    • 什么是关键字?

      • SUN在开发java语言的时候,提前制定好的一些具有特定意义的字符序列。

        • 在语言当中具有特殊含义的单词,这些单词构成java程序的骨架,这些单词 是需要记住的,不能随意编写,包括大小写。

    * 关键字在java语言当中全部小写

    * 关键字在EditPlus工具中颜色是蓝色高亮

    * 常见的关键字有哪些?
    public
    class
    static
    void
    if
    for
    while
    do
    default
    byte
    short
    int
    long
    float
    double
    boolean
    char
    private
    protected
    switch
    true
    false
    throw
    throws
    try
    catch
    ......

    * 提醒:关键字不需要单独拿出来记忆,编写程序的过程中记忆
  • 相关阅读:
    Add Two Numbers
    Reverse Linked List II
    Reverse Linked List
    Remove Duplicates from Sorted List
    Remove Duplicates from Sorted List II
    Partition List
    Intersection of Two Linked Lists
    4Sum
    3Sum
    2Sum
  • 原文地址:https://www.cnblogs.com/green-frog-2019/p/11485657.html
Copyright © 2011-2022 走看看