• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

one good reason to hate c

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hii....
Recently i started learning java and i liked it a lot.mostly because it doesn't have any pointers, and deallocation of memory
and also because of swing.
How intertwined are c and java?
Tell me one good reason why one should switch over to java from c?
(though i know java doesnt have any os dependent features)
Is there anything 'graphical' about c?
[ October 19, 2007: Message edited by: rachana rayaguda ]
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
C and Java are not intertwined at all. You do not need to know anything about C or C++ to be able to use Java. When people at Sun designed the Java language, they did look at C++, and they deliberately left out the features that make C++ hard.

Generally, you should use the right tool for the job you have to do. Java is a great general-purpose language, but for low-level systems programming, C is probably more suitable.

There is nothing "graphical" about C, but neither is there anything "graphical" about Java. If you want to build GUIs and work with graphics, you're going to need libraries that provide the functionality you need. Fortunately, Java comes with a very nice library which contains lots of functionality to build GUIs (Swing) and work with graphics.
 
rachana rayaguda
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yeah...i rammed my brain to find out 'why i like Java?' but could not come up with a valid answer
so i was comparing c and Java(languages i know), their pluses and minuses
Anyways thanks for the reply.
reply
    Bookmark Topic Watch Topic
  • New Topic