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 |
How you can force the garbage collection?
Can you explain the cs option of java interpreter?
why we r not use pointers in corejava?
What is the static method?
What's the difference between an abstract class and interface in java?
What is bom encoding?
Can memory leak in java?
When object is created and destroyed?
What value is a variable of the string type automatically initialized?
What is == in java?
What is final access modifier in java?
is java support call by reference and call by value, if supports please explain?