GIDForums  

Go Back   GIDForums > Computer Programming Forums > Java Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Aug-2011, 06:06
jjjordann jjjordann is offline
Account Disabled
 
Join Date: Aug 2011
Posts: 1
jjjordann is on a distinguished road

Which language is best


I am begin in software field and I want to learn to any language. so which language is easy, C++ or Java?
  #2  
Old 04-Aug-2011, 07:46
mamntc02 mamntc02 is offline
Junior Member
 
Join Date: Mar 2008
Location: Barcelona - Catalonia
Posts: 63
mamntc02 has a spectacular aura aboutmamntc02 has a spectacular aura about

Re: Witch languge are best


IMHO, Java is easier than C++. Reasons:
  • Java has no pointers. Well, more precisely Java has pointers but you won't deal with them, JVM does it.
  • inheritance is also easier, because you only can inherit from one class. In C++ you can inherit from several classes at once.
  • syntax is more readable. In Java you won't deal with expressions like:
    CPP / C++ / C Code:
    int (*(*(*fptr)(char))[5])();
    or
    CPP / C++ / C Code:
    void (_USERENTRY *signal(int sig, void (_USERENTRY *func) (int sig[, int subcode])))(int);
  • In short projects, there is no need to fight with memory. Garbage collector does it for you. In very large project, at least you should know how it works (more or less)
  • In Java is true: "type once, run everywhere". In C++ is not always true. In large projects is never true in C++ . It means Java is portable. Unlike C++, Java does not generate an executable application by OS. Java generates a bytecode, which needs the JVM to be run.
On the other side, C++ is faster and much more powerful than Java.

For my experience, nowadays Java is mainly used in distributed client/server applications. C/C++ is used in standalone applications, 'low level applications and libraries' (drivers, OS, games,....). You can find many other differences in http://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B or just googling "C++ vs Java"

To conclude, I'd start learning C++, I guess is the easiest way if you need to learn both languages. It'll be tough at the beginning, but Java is not very difficult if know C++.
This is just my opinion. Maybe other people doesn't share such opinion.

Regards,

Albert.
__________________
Please, correct me if I'm wrong, and sorry for my english ;)
  #3  
Old 17-Nov-2015, 02:27
Miss Figa Miss Figa is offline
New Member
 
Join Date: Oct 2015
Posts: 8
Miss Figa is on a distinguished road

Re: Which language is best


Java is Best Programming Language. Java is fully Object Object Programming Language. Java's secure feature it enables to develop virus-free, tamper-free systems. Authentication techniques are based on public-key encryption.

Java's multithreaded feature it is possible to write programs that can do many tasks simultaneously. This design feature allows developers to construct smoothly running interactive applications.
  #4  
Old 15-Jan-2016, 12:59
laceibanet's Avatar
laceibanet laceibanet is offline
Junior Member
 
Join Date: Sep 2015
Location: Plaza Las Americas Local 22 Avenida San Isidro La Ceiba, Atlantida Honduras
Posts: 36
laceibanet has a little shameless behaviour in the past

Re: Which language is best


i'd go with c++ as it's more widely used. Any serious programming job will most likely work with that. Java is good but it's not used as much. You would do much better going c++ or a web language like php.
  #5  
Old 22-Feb-2016, 23:43
Johnvereen2014 Johnvereen2014 is offline
New Member
 
Join Date: Feb 2016
Posts: 2
Johnvereen2014 is on a distinguished road

Re: Which language is best


Any serious programming job will most likely work with that. Java is good but it's not used as much.
  #6  
Old 28-Feb-2016, 11:44
Atia Atia is offline
Account Disabled
 
Join Date: Dec 2015
Posts: 38
Atia can only hope to improve

Re: Which language is best


If you are developing applications for Windows desktops, or for Windows servers (e.g. ASPdotNET), or for Windows phone, then C#.
If you are developing a PC game or writing an OS, then C or C++.
If you are writing server applications (e.g. web or mobile), or targeting Android phones, then Java.
If you are targeting iPhones/iPads, then ObjectiveC or Swift.
If you are building the browser side of an application, or if using node.js, then Javascript.
Since the comments I keep getting are pointing out how non-universal my original answer to this silly question was, I should point out that there are many other computer languages that are great for various uses. Python, PHP, Perl, Ruby, assembly, whatever.

The concept of "which one is best" is silly.
  #7  
Old 04-Apr-2016, 01:08
paycron's Avatar
paycron paycron is offline
Junior Member
 
Join Date: Jan 2016
Location: 4139 Strathfield dr,* New port richey, fl
Posts: 89
paycron has a little shameless behaviour in the past

Re: Which language is best


I think JAVA.Java technology is used to develop applications for a wide range of environments, from consumer devices to heterogeneous enterprise systems. In this section, get a high-level view of the Java platform and its components. Java have a good scope in IT industry.
  #8  
Old 08-Apr-2016, 02:53
munozjaimeb munozjaimeb is offline
New Member
 
Join Date: Apr 2016
Posts: 3
munozjaimeb is on a distinguished road

Re: Which language is best


Its all depend on your interest... Both are good languages but i think you must go for java...
  #9  
Old 11-May-2016, 01:41
williamjohn williamjohn is offline
Junior Member
 
Join Date: Feb 2016
Posts: 47
williamjohn has a little shameless behaviour in the past

Re: Which language is best


I you want to learn java, you need some basic knowledge in C++.
  #10  
Old 08-Sep-2016, 06:45
arshi1586's Avatar
arshi1586 arshi1586 is offline
Account Disabled
 
Join Date: Sep 2016
Location: Bhopal , Madhya pradesh
Posts: 11
arshi1586 has a little shameless behaviour in the past

Re: Which language is best


Java is the best Language
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 11:25.


vBulletin, Copyright © 2000 - 2017, Jelsoft Enterprises Ltd.