普通类中静态内部类的调用

package com.fh.hello1;

public class T {
    public static void main(String[] args) {
        new AMQP1.BasicProperties1().m();
    }
}

class AMQP1 {
    static class BasicProperties1 {
        public Builder1 m() {
            System.out.println("hello Builder.m()");
            return null;
        }
    }

    static final class Builder1 {

    }
}
posted @ 2024-08-10 13:17  干饭达人GoodLucy  阅读(2)  评论(0编辑  收藏  举报