Can Create a New primitive datatype in Java

后端 未结 5 2157
闹比i
闹比i 2020-12-11 02:53

First thing I want to clarify here, this question is because of curiosity. I am not facing any issue.

There are many primitive types available in Java byte

5条回答
  •  悲&欢浪女
    2020-12-11 03:22

    Primitive types are the ones defined by the language itself. In Java you can only define new types as Classes all derived from the common base class called Object.

提交回复
热议问题