| The java programming language is becoming
| |
| | was still complex with things like
|
| more and more popular each day. It is the
| |
| | pointers, memory leak and multiple
|
| language without which one cannot even
| |
| | inheritence. The pointer
|
| hope to a land a job these
| |
| | concept was taken from C and it was very
|
| days. But has somebody even wondered how
| |
| | messy! The pointer is special type of
|
| this language came about? There are many
| |
| | variable
|
| stories about, many books have been
| |
| | that points to other variables. Since
|
| written. Here is my version (not approved
| |
| | there was no guidelines as to how to use
|
| by Sun Microsystems).The java programming
| |
| | these pointers, it was very easy loose
|
| language originated in Indonesia. It was
| |
| | track of them. In a typical two thousand
|
| meant to be used
| |
| | lines program, one would frequently end
|
| by the tourists that visit that country
| |
| | up with hundredes of pointers pointing
|
| each year. Why would tourists want to use
| |
| | to thousands, some of them are pointers
|
| computer? Well, these are no ordinary
| |
| | and some just plain variables. Needless
|
| tourists. They are rich tourists. Have
| |
| | to say this made a large program
|
| they not been rich, they would not
| |
| | extremely difficult to read and when the
|
| travel half way around the world to visit
| |
| | programmer left for another company,
|
| this
| |
| | they would have no other choice than
|
| place. Most people would be content to
| |
| | to just throw away his program! It was
|
| see just what is available near by. For
| |
| | sometimes necessary to do this even
|
| example, if you are a texan living in
| |
| | when the programmer was around and very
|
| Dallas, you will visit the stockyards or
| |
| | much alive. This is because the pointers
|
| may be the
| |
| | he created inside his program had taken a
|
| trinity river park. If you live in New
| |
| | life of their own and defy
|
| Orleans area, you would see st. mary's
| |
| | every attempt to predict how the program
|
| bayou. Once in your lifetime, one will
| |
| | should behave.
|
| probably visit Hawaii or Niagara. But
| |
| | Memory management was also another weak
|
| going to Indonesia and its islands,
| |
| | point of C and C++. The programmer was
|
| Bali, Java, etc is not for the ordinary
| |
| | responsible for cleaning up the memory
|
| people. Anyway, coming back to the
| |
| | their program would allocate and use.
|
| question why these tourists need to use
| |
| | Failure to do so will result in a crash
|
| computer programs. They go there not
| |
| | of the whole computer.Multiple
|
| just to have fun and also get some work
| |
| | inheritence, though sparingly used, was
|
| done in a fun atmosphere as these people
| |
| | another feature of C++ which made a
|
| are very important people.From the very
| |
| | programmer's life miserable. It, however,
|
| start java was supposed to be computer
| |
| |
|
| independent. That means if
| |
| | had its use, especially in job
|
| you write a program in java in one
| |
| | interviews. This one question, they
|
| computer, it should run in all computers.
| |
| | thought,
|
|
| |
| | helped them separate the wheat from the
|
| This was necessary because tourists
| |
| | chaff.But C++ still had some nice and
|
| bring all kinds of computers with them.
| |
| | simple features, like inheritence,
|
| Some bring
| |
| | encapsulation, etc. They are something
|
| Windows machine, some Apple mackintosh.
| |
| | one can describe in plain english,
|
| Some of the affluent ones bring
| |
| | something one can explain to a layman.
|
| Sun server workstations or even a super
| |
| | So the creator of java decided to take
|
| computer.Before starting to create java
| |
| | the good features of inherience,
|
| they also sought to see if there have
| |
| | encapsulation, and polymorphism from C++,
|
| similar
| |
| |
|
| stuff done already. Even though they
| |
| | while discarding the bad features such
|
| could find none, they found they can use
| |
| | as multiple inherience, pointers etc.
|
| lots of feature from some existing
| |
| | The memory management was
|
| laguages. One such language they found
| |
| | improved in java where the programmer
|
| was C++. C++ was an advancement over the
| |
| | will not be held responsible for memory
|
| language called C. In fact, ideas of
| |
| | management. They
|
| C++ was already hidden in C. In that
| |
| | can clean up after themselves if they
|
| language, one can increment a variable,
| |
| | want to get extra credit, but they do not
|
| say i, by applying the ++ operator e.g.
| |
| |
|
| i++. This would increase the value of
| |
| | need to. Needless to say all these was
|
| the variable i by one. If i had a value
| |
| | great news to the tourists in
|
| of 5, it would make it 6, etc.
| |
| | Indonesia!Java introduced lot of clarity
|
| What a vision!Anyway, coming back to
| |
| | in notations too. For example, in C++
|
| C++, it made an important advancement
| |
| | they
|
| over C by introducing the idea of a
| |
| | would say class doctor:person to mean
|
| class. To understand class, one has to
| |
| | doctor is derived from person.
|
| undestand
| |
| | It is obviously very cryptic. The same
|
| structure which was already used in C.
| |
| | situation can be expressed
|
| The structure is a group of variables.
| |
| | in java as class doctor extends person
|
| For example, you have a name, an
| |
| | , which is much easier to understand. But
|
| address, age etc. for any person. In
| |
| | there are few awkward stuff in java too
|
| stead of
| |
| | especially when someone
|
| using them separately, in C one can
| |
| | says class bum extends person (my last
|
| group them together and call it a person.
| |
| | bum joke)!Java made an important
|
| The creator of C++ said there is no need
| |
| | contribution in the graphical user
|
| to expose these variables (name, address,
| |
| | interface (GUI) area.
|
| etc) to the outside world. They said
| |
| | C++ was really lacking in expertise
|
| these details should be hidden
| |
| | here. They visual C++, but worked only on
|
| from the outside world. They called this
| |
| | windows environment. But it did not work
|
| concept encapsulation.Another important
| |
| | in UNIX systems or mackintoshes. Just
|
| contribution of C++ was the concept of
| |
| | like other features of java, this was
|
| inheritence. This concept can be best
| |
| | also supposed to be platform independent.
|
| explained by example. Let's go back to
| |
| | This was further necessary because one
|
| the example of the person. A person is
| |
| | can put some little GUI on a web page
|
| very general concept. There can be many
| |
| | which can be views over the internet. And
|
| different kinds of persons, e.g doctors,
| |
| | one cannot control what kind of computers
|
| lawyers, teachers, or just a bum! But
| |
| | other will have.After a while, it was
|
| each of these people have a name, an
| |
| | necessary to call programs from one
|
| address, age etc. Even a bum has all
| |
| | computer to another
|
| these. The creator of C++ thought one can
| |
| | computer. To do this, they created J2EE.
|
| define a base class call person and
| |
| | I am not sure how they came
|
| other classes can be derived from it. In
| |
| | up with the name J2EE. The 'J' of J2EE,
|
| plain english, this would mean, a doctor
| |
| | of course, means "Java", and I can be
|
| is special kind of person, lawyer is
| |
| | reasonably sure '2' stands for 'To'. But
|
| another special kind of person. Now the
| |
| | I do not know what the 'EE' part is all
|
| common attributes of all these kinds of
| |
| | about, probably some kind of extension.
|
| people can be put in
| |
| | Or at this point they ran out of names
|
| the person class and special attributes
| |
| | to think of. So they decided to
|
| can be put in the derived classes, e.g.
| |
| | have one of those just another vague
|
| hospital for the doctor, court for the
| |
| | acronyms.If you would like, you can also
|
| lawyer, and nothing for the bum.But C++
| |
| | visit my home page.
|