Java
  Home arrow Java arrow Page 2 - Java Part 1: The Basics
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Java Part 1: The Basics
By: Chris Noack
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2001-11-20

    Table of Contents:
  • Java Part 1: The Basics
  • The whats, hows and cans
  • What are objects?
  • One Name: Many Uses
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Java Part 1: The Basics - The whats, hows and cans


    (Page 2 of 5 )

    What Is Java?

    Java is a state of the art Object Oriented (OO) language that derives much of its syntax from the C language. Java is based on C++, which is based on C. I will use C as a comparison to Java in several places throughout these articles, so a working knowledge of some object-orientated programming language (such as C++/Visual Basic) will help you gain more from these Java articles!

    Can I Learn Java Easily?

    Yes. A C++ developer can pick up Java very quickly because of the similar syntax between the languages. If you are not a proficient C++ developer, though, don't despair... with a bit of effort and time, you can learn the basics of Java within just a couple of days!

    Where did Java come from and why is it so good?

    Java was released by Sun Microsystems in late 1995 and quickly took the programming world by storm. This was because Java is as powerful as other object-orientated languages without all of the confusing language constructs that made languages like C++ so challenging. This was not the only reason for Java's popularity in the programming world.

    Java is a highly portable language. Once compiled into byte-code (the equivalent to interpreted code in other languages), Java applications are executable on any computer with the Java platform installed. This is a great advantage over other languages that need to be modified to run under different

    operating systems.

    A Larger Character Set

    Java makes use of a more advanced character set than C. It's called the Unicode

    character set. This set contains more characters than ASCII, including many more symbols. Unicode makes Java more of an international language, using suitably more characters, closely resembling naturally spoken languages.

    Can I write Java quickly without annoying bugs?

    Well no... every programming language has bugs somewhere. But java is a language that encourages a clean programming style, as opposed to C in which things can be implemented in messy and buggy ways. Code is more likely to work reliably and is also more likely to be reusable, thanks to object orientation and encapsulation. As long as certain procedures of object-orientated development are followed, instances of code re-use will be high and the code will be more easily maintained.

    No more pointers!

    Every C/C++ coder reading this article will rejoice in hearing that pointers have been omitted from Java. Pointers are a source of great confusion and error in C and C++ programs. Gone are the days of pointers to pointers to pointers!

    Now that we have a general overview of what Java is, lets talk about a fundamental aspect of Java and the object orientated paradigm: Objects.

    More Java Articles
    More By Chris Noack


     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT