逻辑运算符

package com.guoba.testhello;

public class YunsuanfuDemo {
    public static void main(String[] args) {
        int a = 10;
        int b = 11;
        int c = 12;
        /**
         * 逻辑运算符
         * &&
         * ||
         * !
         * >>
         * <<
         */
        System.out.println(""+a+b);
        System.out.println(b+c+"");
        System.out.println(2>>3);
    }
}
posted @ 2021-12-13 20:08  锅巴编程  阅读(8)  评论(0编辑  收藏  举报