我是靠谱客的博主 纯真宝贝,这篇文章主要介绍getmodifiers_Java类类getModifiers()方法及示例,现在分享给大家,希望可以做个参考。

getmodifiers

类的类getModifiers()方法 (Class class getModifiers() method)

  • getModifiers() method is available in java.lang package.

    getModifiers()方法在java.lang包中可用。

  • getModifiers() method is used to return the modifiers for this class or interfaces and the modifiers consist of JVM constants for the modifiers public, private, protected, final, static, abstract and interface and these modifiers should be decoded by the method getModifier() of Modifier class.

    getModifiers()方法用于返回此类或接口的修饰符,并且修饰符由JVM常数组成,这些修饰符用于修饰符public,private,protected,final,static,abstract和interface,这些修饰符应由getModifier()方法解码修饰符类。

  • getModifiers() method

最后

以上就是纯真宝贝最近收集整理的关于getmodifiers_Java类类getModifiers()方法及示例的全部内容,更多相关getmodifiers_Java类类getModifiers()方法及示例内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(128)

评论列表共有 0 条评论

立即
投稿
返回
顶部