What is the difference between Java and C language ?

No comments

1. Java  does  not  support  the  C  statement  keywords  ‘goto,size-of,  and  typedef’.

2. Java  does  not  contain  the  data  type  ‘struc,nuion,  and  enum’.

3. Java  does  not  define  the  type  modifier  keywords  ‘auto,  extern,  requester  signed  and  unsigned’.

4. Java  does  not  support  an  ‘explicit  pointer  type’.

5. Java  does  not  have  a preprocessor  cannot  define  ‘#define,  #include,  #ifdef’.

6. Java  does  not  support  any  mechanism  for  defining  ‘variable  argument  to  function’.

7. Java  adds  new  operator  such  as  instance  of  and >>>.

8. Java  adds   labeled  brake  and  continues  statement.

9. Java  adds  many  features  required  for  OOP.

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀