What primitive Java types? Howmany are they and what are
their names?
Answers were Sorted based on User's Feedback
Answer / ramesh
primitive type is predefined in java.
byte , int ,short ,long , float , double,boolean and char
are the primitive data types used in java.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / prasanna
They are implicitly defined in Java.There are 8 of them and
they are:
boolean,char,byte,short,int,long,float,double
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
primitive datatypes are the one which will allocate some
memory in the stack.And there are 8 primitive data types
1).byte
2).short
3).int
4).long
5).float
6).double
7).char
8).boolean
Is This Answer Correct ? | 3 Yes | 0 No |
What are the 8 data types in java?
What is a function argument in java?
How many types of interfaces are there?
Convert Binary tree to linked list.
What is the use of flag?
Difference between association, composition and aggregation?
I want to persist data of objects for later use. What’s the best approach to do so?
What are use cases?
program to validate the IP address? Validity range should be 0 to 255
What is the purpose of tostring() method in java?
What is a nullable field?
could you run the java program without main method?