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 |
Explain runtime exceptions?
Explain notify() method of object class ?
What is a treeset class?
What are variable names?
What is Collection interface?
Can a class extend 2 classes in java?
What is the purpose of finalization in java programming?
Can a lock be acquired on a class?
what is the use of abstract class?
3 Answers Amdocs, Atos Origin, Invictus,
What is palindrome in java?
What do you mean by boolean?
Which class cannot be a subclass in java?