What primitive Java types? Howmany are they and what are
their names?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you write a conditional statement?

494


Can we use synchronized block for primitives?

580


Explain runtime exceptions?

711


Why is string class considered immutable?

576


What is a file pointer?

490






What are facelets templates?

564


What’s the difference between callable and runnable?

520


What is the difference between logical data independence and physical data independence?

508


Give few examples of final classes defined in Java API?

678


Why is the singleton pattern considered to be an anti pattern?

448


How to make a class or a bean serializable?

518


How does finally block differ from finalize() method?

566


What is the use of singleton?

494


Explain the available thread states in a high-level?

514


What access modifiers can be used for variables?

560