What is the different between Java and C++ ?

1 comment


Java  is  a  true  object  oriented  language  while  C++,  is  basically  C  with  object  oriented  extension.  Listed  below  are  some  major  C++  features  that  were  intentionally  omitted  from  java  as  significant   modified.

1. Java does  not  support  operator

2. Java does  not  support  multiple  inheritances  of    This  is  accomplished  using  a  new  features  called  interface.

3. Java does  not  support  global  Every  variable  and  method  is  declared  in  a  class and   forms  part  of  that  class.
4. Java does  not  use

5. Java has  replaced  the  destructor  functions  with  a  finalize    There  are  no  header  lines  in  Java.

1 comment :

Subscribe

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