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 is a predicate method?
What does sprintf return?
What is the purpose of final keyword and when to use it?
Explain JSP life cycle
What is the difference between method and constructor ?
Can we declare a class as abstract without having any abstract method?
What does g mean in regex?
What is variable and constant explain with example?
explain local datetime api in java8?
What is meant by distributed application? Why are we using that in our application?
Can an abstract class have a constructor?
Explain what access modifiers can be used for variables?