About Java

This is the first time for me to write something like this, usually I only write diary or how I feel about things. But this time, I want to try to write something seerrriousss like Java, and share the knowledge, hopefully by giving… I actually learn more.

teach and learnPlease give me feedback or comment, so I could improve my writing. Okay, I’ll start About Java by telling brief story about how Java was invented (hope you won’t get bored). :-P

 

 

  1. Introduction
  2. Java was invented by a group of people called “Green Team”, staffed at 13 people and led by James Gosling. They were gathered by Sun Microsystems in 1991, with a project called “the Green Project”, which goal is not to create new programming language, but how to anticipate the “next wave” in computing, and able to meet the challenges of application development in the context of heterogeneous. When the project started, C++ was the language of choice. But over time, the difficulties encountered with C++ until they decide it is better to create an entirely new language platform.

    Java programming language is a high-level language, which strongly known with Platform-Independent and Object-Oriented characteristic.

  3. Platform-Independent
  4. Java platform is a software platform that runs on top of other hardware-based platforms (Write Once Run Everywhere).
    (more…)

  5. Object-Oriented
  6. Object oriented programming observe things into state and behaviour.
    (more…)

  7. Basic Java
  8. Before we start learning the basic of java, you need to install java platform (JDK 5.0) on your computer to be able to run simple java program. It is available free of charge. Follow the installation instructions, and make sure you set the PATH variable, so you’ll be able to conveniently run the JDK executables ( javac.exe, java.exe ) from any directory, without having to type the full path of the directory where you installed JDK.
    (more…)

  9. Abstract Class and Interface
  10. Abstract Class     Interface

    Abstract class can contain fields and methods that implement default behavior, and can also have abstract methods.
    Abstract class cannot be instantiated, it can only be subclassed.

    Interface can only contain constants (public static and final variables) and method signatures (method without body / abstract method).
    Interface cannot be instantiated, it can only be implemented by class or extended by other interface.

    (more…)

  11. Overriding and Overloading Method
  12. Overriding Method     Overloading Method

    A child class can override parent’s instance method with the same name, parameters, and return type.

    Multiple methods with the same name and return type, but different parameters.

    (more…)

  13. (coming soon)

 

References :

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.