Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-02-2009, 03:27 PM   #1
In Runtime
 
a1sporty15's Avatar
 
Join Date: Dec 2007
Posts: 102
Default C++ move to JAVA

So I'm a senior in high school this year and I've been learning C++ the whole year and I'm going pretty deep. However, next year I'll be studying computer engineering at my university and I recently found out that "Computer Science I" Is a JAVA class. Do you think the switch will be hard? Is JAVA much different than C++? Which language is harder? All comments are appreciated. Thank you
__________________

a1sporty15 is offline   Reply With Quote
Old 06-02-2009, 03:45 PM   #2
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: C++ move to JAVA

Biggest difference is that Java runs in a Virtual environment. C++ can't really do things like Threading because threading is an OS specific task. Syntacticly they are similar, so you should be ok. Most of your "culture" shock will be from not having to work so close to the bit level. In terms of hard or not, it really just depends on how well you understand programming and problem solving. I personally think Java is much more enjoyable to work with. Did you do any templates or smartpointer type things in c++? Thats another nice feature, in Java you don't use pointers because it makes a distinction between value-types and reference-types. Basically all objects of classes are reference types, and are therefore passed by reference by default.

Hope this helps.
__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:00 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0