• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

c++--java

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
list the main differance between c++ and java.
also tell me about oops concept
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That question is a bit broad. Could you narrow it down any?
 
vijayan sankaran
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai Nick
As a beginner I just want to know oops concept. please brief it.
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
c++ is not a pure OOP languge vs Java.Java requires an interpreter vs c++ is compiled into a stand alone program. Java can decrease application development.The hiearchery is different and extend multiple levels. I don't think that is possible in c++. I might be wrong but i only studied c++ for 5 months about.
Thats all I can think of right now there there are some others but you can see the differences in code.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
[This message has been edited by Brett Knapik (edited November 17, 2000).]
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
c++ is aint a pure OOP lang. where as java in an OOP lamg. from the core. Java does not implements multiple inheritence and c++ does that makes it rather messy.Java implements multiple inheritance in a diff. way. C++ is compiled where as Java is inter preted. A class file in java is always small in size performing thesame task and being an object file in c++.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Vijayan,
You can go thru Java Bible last chapters which will give u a very comprehensive comparison btn. C++ and Java.
Regards---Pradeep
 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or you can get 'Thinking in Java' free from www.bruceeckel.com
and this book has an appendix describing the differences between C++ and Java.
By the way if you don't know or understand OOP concept then the difference between C++ and Java shouldn't be your first question.
Shama
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vijaya,
One main difference b/w C++ and Java.. which I find very friendly is that Java don't have pointers, whereas C++ does. I would say that pointers is one of the reasons why people are scared of both C & C++ !!
Regards,
Kalidas.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic