How many classes are there in Java standard edition?

后端 未结 9 2062
逝去的感伤
逝去的感伤 2020-12-13 13:00

I am curious how many classes are there in Java standard library. Perhaps someone knows an approximate number?

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 13:21

    I see 3762 within Java 8 as following

    All Classes ( Outer as well as Inner ) , Enums and Interfaces -  3762
    All except Inner Classes                                      -  3462
    Only Classes ( Outer + Inner + Abstract + Enum )              -  2963
    Interfaces                                                    -  799
    Enum                                                          -  93  
    

    Moreover , Here is the list of classes / interfaces introduced with each version - http://qr.ae/Q2baW

提交回复
热议问题