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

Can we declare an interface as final?

576


What is string args [] in java?

540


Why are the methods of the math class static?

586


What is the significance of listiterator?

569


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

508






How do you sort in java?

598


What are the properties of thread?

504


What are the advantages of defining packages in java?

509


What is the difference between the ">>" and " >>>" operators in java?

509


Explain the difference between jvm and jre?

562


Can we declare a static variable inside a method?

534


Explain the private protected method modifier?

548


What is method reference in java?

565


What are generic methods?

537


What is command line argument in java?

608