Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

IPU BCA/MCA - Java Programming - Java vs C (#ggsipuBCANotes)

Tags: java java adds

Java vs C


Java has similarities to both C and C++,but it is neither upwardly nor downwardly compatible with both.

C is a structured language, Java is purely object-oriented.

Java does not have C unique keywords like goto, sizeof and typedef.

C creates applications, Java creates both applications and applets.



Java unlike C does not have the data types struct, union and enum.

Java Java does not have the type modifiers auto, extern, register, signed and unsigned

Java does not support pointers.

Java does not have any pre-processor directives like #define, #include etc.

Java has no mechanism for defining variable arguments to functions.

Java adds new operators like instanceof and >>>.

Java adds labeled break and continue statements.

Java adds many OOP features not present in C.




This post first appeared on IPU BCA, BBA, MCA, MBA Examination Papers And Notes, please read the originial post: here

Share the post

IPU BCA/MCA - Java Programming - Java vs C (#ggsipuBCANotes)

×

Subscribe to Ipu Bca, Bba, Mca, Mba Examination Papers And Notes

Get updates delivered right to your inbox!

Thank you for your subscription

×