Results 1 to 6 of 6
  1. #1
    Ninabob is offline Member
    Join Date
    Aug 2008
    Posts
    1
    Rep Power
    0

    Default Pros and Cons in Java

    Hi,
    Im new here and i want to learn Java, could anyone tell me

    1. What is the pros and cons in Java
    2.Can anyone show me the syntax and semantic of some of the commands used in Java programming.

    Thanks for your help.:)

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    I recommend that you check out both Google and Wikipedia, both excellent resources that will answer these and many other questions.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by Ninabob View Post
    1. What is the pros and cons in Java
    Lots of things. But it's not easy to explain in a forum. As Fubarable says, read more on Google. And SUNs' official web site too.

    Quote Originally Posted by Ninabob View Post
    2.Can anyone show me the syntax and semantic of some of the commands used in Java programming.
    I don't think it's easy. First start to learn Java, using a well explain text book. There are lots of discussions are going on here in Java Forums. Search them and read what expertise says on different text books, and choose the best for you. Then when you stuck with anything first make an attempt to do something and still fail ask any questions here you want. Lots members are ready to help you.

    Best of luck for you journey to Java world. :)

  4. #4
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    6

    Default

    Quote Originally Posted by Ninabob View Post
    1. What is the pros and cons in Java
    2.Can anyone show me the syntax and semantic of some of the commands used in Java programming.
    If you want to learn Java, why do you care about the pros and cons? As others have said there are many websites and books on Java.

    Java itself is a very simple language, you can describe most of it in about 20 pages, maybe 10 if you leave out Generics and annotations. What makes Java (and any other OO language) powerful are the prebuilt libraries so you can reuse code rather than writing it from scratch.

    Most of the old "pro/con" arguments were more theological than real. Which is better, being a Catholic or Protestant? or being a Hindu or Moslem? (Please, don't answer, there is no one answer, all four are fine with me, even though many wars have been fought over the centuries over the topic.)

    If you want a more "pure OO" language, look at Smalltalk. If you want one that will make you more money, study .net and C#. I like scala and erlang, but I'm weird.

  5. #5
    Join Date
    Aug 2008
    Location
    Saint-Petersburg, Russia
    Posts
    66
    Rep Power
    0

    Default

    My five cents to holly war :)

    Java vs .NET (C#).

    Java has MUCH better IDE ( Eclipse), if you develop a layer which works with database - Java+Eclipse is superb.

    Web-GUI. Struts, Tapestry and other Java so-called frameworks for building web-GUI are very bloated and overcomplicated. My opinion - they are just horrible. ASP.NET shines here.

    Java Server Faces technology aimes to do same thing as ASP.NET, though it is pretty young and I have no experience of working with it.

    But. Java world has Google Web Tolkit ! This is mighty tool for building dynamic Web GUI. E.g. ref. Project Kaiser: Web-based Project Management software. Issue Tracking, Bug Tracking, Content Management, Enterprise Wiki and Forums. Free for 5 users :D.
    Microsoft cloned GWT in its Volta product, but currently Volta is as horrible as Tapestry, and may be even worse. GWT is not so easy in learning and using though.

    In short - if you want to quickly build good Web GUI, go to ASP.NET. Otherwise go to Java.

  6. #6
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    7

    Talking hello world

    Quote Originally Posted by Ninabob View Post
    ...2.Can anyone show me the syntax and semantic of some of the commands used in Java programming.
    Java Code:
    System.out.println("Print hello world.");
    Yuk-Yuk: An undiscovered tribe in Tunguska.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •