Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 8th Jul 2011, 06:14 AM   #1
Active Warrior
 
Join Date: 2011
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Which is better and why ?
Share on: 
fb share twitter share gplus share more share

I've been told that if you want to be a better programmer c++ or JAVA. Now I'm not able to decide which one to start !
As I don't know which is better.
So, anyone can help me in this regard ?

dann12 is offline  
Unread 8th Jul 2011, 07:26 AM   #2
Warrior Member
 
Join Date: 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

HI,
Both languages have there merits and demerits.In my opinion c++ is the best option because i think all programmers should know the working knowledge of c++.But also java is important so in my opinion the good programmer should have a command over at least two language

amans54 is offline  
Unread 8th Jul 2011, 08:14 AM   #3
Warrior Member
 
Join Date: 2011
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

both are very important...but if I were you, I'd go for java.
lowriderSTi is offline  
Unread 8th Jul 2011, 11:42 AM   #4
HyperActive Warrior
War Room Member
 
RonnyRaygun's Avatar
 
Join Date: 2011
Location: NYC
Posts: 199
Thanks: 37
Thanked 78 Times in 44 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

I think java has broader support than c++ Go with Java.
RonnyRaygun is offline  
Unread 8th Jul 2011, 12:26 PM   #5
Marketing Evangelist
War Room Member
 
nthmarketing's Avatar
 
Join Date: 2011
Posts: 174
Thanks: 11
Thanked 24 Times in 18 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

This will be a long response

Java was derived from C++

Java and C++ syntax is very similar. For instance a stack interface in Java may look like this.
public interface Stack
{
public void Push(Object o);
public Object Pop();
};
And C++
class Stack
{
public:
virtual void Push(Object&) = 0;
virtual Object& Pop() = 0;
};

Either language will help you if you wanted to understand the other. Java will be easier to learn. Google did a benchmark recently and showed that C++ was faster than Java by "a large margin" if you like reading

So... If I were to learn one language I think you can't go wrong with either but Java will be easier and C++ will give you a broader basis for programming.

My 2 Cents,
Fred
nthmarketing is offline  
Unread 8th Jul 2011, 04:11 PM   #6
Warrior Member
 
andrewjustice03's Avatar
 
Join Date: 2011
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

C++
Not only it teaches you the very essential to programming. The applications, classes, library, or whatever coded on C++ is fast. For it is near the Kernel of the OS, meaning, it has only need to pass a single interpretation of code to be executed. Unlike Java that it needs a Virtual Machine to be executed.

Java (high-level)
-----------------
C++ (mid-level)
-----------------
Kernel or Assembly (low-level)

During my early days of learning programming, C++ has no good IDE (I used Borland C++), unlike Java (I used Netbeans and Eclipse). But now, you've got many choices (Visual C++, Eclipse CDT, etc) thus, coding will be more easy.

One thing, C++ is not dead as many may think. C++ will have an update one of these days
andrewjustice03 is offline  
Unread 9th Jul 2011, 01:02 AM   #7
Warrior Member
 
Join Date: 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Hope both are good


if im wrong correct me
ytntr is offline  
Unread 9th Jul 2011, 05:12 AM   #8
Warrior Member
 
Join Date: 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Both are best. Both have their importance
yrnbk is offline  
Unread 9th Jul 2011, 12:46 PM   #9
Warrior Member
 
Join Date: 2011
Location: The Netherlands
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Both are good they just differ from eachother. It just depends on what you want to get done. One thing to keep in mind that andrewjustice03 already said is that Java is a High-Level programming language and C++ a Mid-Level.

The Mid-Level of C++ means that you are closer to the actual PC and thus have more control over the memory used. This makes programs that are (correctly) written in C++ a lot faster. The drawback of this is that C++ is way more code-intensive. Writing a program in C++ will take up way more time than writing a program in Java.

These days most computers don't need an optimized application to run smoothly as they are strong enough to run it anyway.

Hope this helped a little,

Iden
Iden Halburt is offline  
Unread 9th Jul 2011, 06:12 PM   #10
Warrior Member
 
Join Date: 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Originally Posted by dann12 View Post

I've been told that if you want to be a better programmer c++ or JAVA.
What do you plan to accomplish with the programs you intend on writing? C++ is a low-level compiled language generally used for complex computing tasks only ... you do the memory management and garbage collection yourself, which in Java you do not.

Java and C++ are fundamentally different. C++ is used for writing programs you compile into native binaries that run on a set platform. Java does not create truly 'compiled code' but creates byte-code instead, and runs it on a byte-code interpreter, which is another software program. With C++ there is no intermediary. This is why the same compiled Java can run without modification on Linux, Windows and Mac.

I'm not sure how you really expect anyone to help you on your decision here. If you don't understand how Java and C++ are so different, and know which one you plan on using, you should start with something simpler.

Just my 2c
chazzpalterino is offline  
Unread 10th Jul 2011, 05:10 AM   #11
Active Warrior
 
Join Date: 2011
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Got it.. C++ is relatively low level to JAVA.
Can anyone tell me the merits of c++ over JAVA and vice-versa ?
on the basis of which will run faster, efficient, etc..

dann12 is offline  
Unread 10th Jul 2011, 07:55 PM   #12
Warrior Member
 
Join Date: 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Java and C++ are both object oriented programming languages. Software applications are developed using these applications. Applications based on E-commerce are developed using Java language while C++ language is used towards development of system software

silvertower03 is offline  
Unread 10th Jul 2011, 09:36 PM   #13
HyperActive Warrior
 
Join Date: 2009
Posts: 118
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Both are good, but i can say that Java is better one Goodluck

Let them eat cake!
ngseosept is offline  
Unread 11th Jul 2011, 01:27 AM   #14
HyperActive Warrior
 
theme's Avatar
 
Join Date: 2010
Posts: 287
Thanks: 0
Thanked 4 Times in 4 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Hi,

Start directly Wordpress , then you will learn php,jquery,xhtml and css.

No alternative to WordPress can be found in the universe. We love it.

Riaz, an experienced Web Designer /Developer.
Expert in Photoshop, HTML5, CSS3, jQuery, Wordpress.
My Portfotio Live Wordpress Demo
skype id : riazmohamed.k
theme is offline  
Unread 11th Jul 2011, 10:29 AM   #15
Warrior Member
 
Join Date: 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

If you're doing web development or cross-platform programming, go with Java. If you are doing a platform-specific application, C++ all the way.
Rizimar is offline  
Unread 11th Jul 2011, 01:44 PM   #16
Staff Leasing Services
 
Join Date: 2010
Location: Manila, Philippines
Posts: 502
Thanks: 10
Thanked 33 Times in 31 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

I would suggest to learn both language, you can use them for different projects and purposes.

Staff Leasing
We Lease Offshore Employees

Hire inexpensive labor from the Philippines!
myeanne is offline  
Unread 11th Jul 2011, 03:57 PM   #17
Marketing Evangelist
War Room Member
 
nthmarketing's Avatar
 
Join Date: 2011
Posts: 174
Thanks: 11
Thanked 24 Times in 18 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Originally Posted by theme View Post

Hi,

Start directly Wordpress , then you will learn php,jquery,xhtml and css.

No alternative to WordPress can be found in the universe. We love it.
Wordpress is good for what it was made for and application development isn't one of those things.
nthmarketing is offline  
Unread 11th Jul 2011, 07:02 PM   #18
HyperActive Warrior
War Room Member
 
ussher's Avatar
 
Join Date: 2010
Location: Tokyo
Posts: 314
Thanks: 27
Thanked 43 Times in 42 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Java.

Anything you write will run on windows, mac and linux.

"Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."
- jamroom.net
Download Jamroom free: Download
ussher is offline  
Unread 11th Jul 2011, 07:09 PM   #19
Warrior Member
 
Join Date: 2011
Posts: 24
Thanks: 0
Thanked 3 Times in 3 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Java all the way man! Good luck.
Mikey Lightning is offline  
Unread 14th Jul 2011, 10:55 PM   #20
Active Warrior
 
Join Date: 2011
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Originally Posted by theme View Post

Hi,

Start directly Wordpress , then you will learn php,jquery,xhtml and css.

No alternative to WordPress can be found in the universe. We love it.

I don't want the web designing languages.. . As I'm searching for programming languages so that I can develop something after I understand it thoroughly !

dann12 is offline  
Unread 14th Jul 2011, 11:24 PM   #21
Advanced Warrior
War Room Member
 
Ken Durham's Avatar
 
Join Date: 2009
Location: Chesterton, IN
Posts: 936
Thanks: 128
Thanked 187 Times in 146 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

C++ will let you get to the meat of things, and as mentioned, once you learn what "programming" is, all of the other "languages" will come easily.

yes, I am....
Ken Durham is offline  
Unread 15th Jul 2011, 02:32 AM   #22
AdWork Media Network
 
AdWorkMedia's Avatar
 
Join Date: 2011
Location: Florida
Posts: 226
Thanks: 18
Thanked 25 Times in 25 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

What programs are you trying to make with these languages? If you are learning a language I would really recommend starting with PHP since you can find a lot of resources/help online and may find it easier to code than Java or C++. You can still apply what you learn from PHP to those languages later on.

[SIGPIC][/SIGPIC]

AdWork Media ยป Global Affiliate Network & Content Locking Solutions

Custom Platform, Flexible Lockers, Offers For Every Country
AdWorkMedia is offline  
Unread 15th Jul 2011, 04:47 AM   #23
Warrior Member
 
Join Date: 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Java is Better

Its is Multi threaded programming Language
ppsk007 is offline  
Unread 15th Jul 2011, 07:16 AM   #24
Active Warrior
War Room Member
 
Join Date: 2011
Location: Wheaton, IL
Posts: 91
Thanks: 10
Thanked 10 Times in 7 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

I'm going to say that both are important, but if you are looking towards web programming, then Java is what you want.
maxmalini is offline  
Unread 16th Jul 2011, 03:18 AM   #25
Active Warrior
 
Join Date: 2011
Posts: 39
Thanks: 1
Thanked 4 Times in 4 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Both are important & good also, I guess!
John Emdat is offline  
Unread 23rd Aug 2014, 01:27 AM   #26
Warrior Member
 
Join Date: 2014
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Both Java and C++ are good..
  • C++ was designed for systems and applications programming , extending the C programming language
  • Java is a general-purpose, concurrent, class-based, object-oriented computer programming language that is specifically designed to have as few implementation dependencies as possible. It relies on a java virtual machine to be secure and highly portable
  • Java is a true and complete object oriented language
  • C++ is an extension of C with Object oriented behaviour.C
  • C++ is not a complete object orientd language as that of java
  • Java does not provide template classes
  • C++ offers template classes
  • Java supports multiple inheritance using interface
  • C++ achieves multiple inheritance by permitting classes to inherit from multiple classes
  • Java does not provide global variables
  • Global variables can be declared in c++
  • Java does not support pointers
  • C++ support pointers

wilsonmarcial is offline  
Unread 28th Aug 2014, 02:16 PM   #27
Active Warrior
 
Join Date: 2014
Location: Las Vegas
Posts: 94
Thanks: 14
Thanked 15 Times in 12 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Neither is better they both have some advantages but neither its really better... I would learn Java first then c++

Organize Toll-Free Conference Call with Onconference

http://www.onconference.com/
onconference is offline  
Unread 13th Sep 2014, 02:49 AM   #28
Active Warrior
 
Join Date: 2014
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

i think java is better compare to others
jameslopez is offline  
Unread 29th Sep 2014, 10:51 PM   #29
HyperActive Warrior
 
Member8200's Avatar
 
Join Date: 2008
Posts: 310
Thanks: 10
Thanked 39 Times in 35 Posts
Default
Re: Which is better and why ?
Share on: 
fb share twitter share gplus share more share

Java is better. But most of the concept of java are drew from C++. Java is platform and machine independent, it runs regardless of what OS you are working with.

Go with Java.
Member8200 is offline  
Closed Thread


Bookmarks


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:48 AM.