Part 1 ,we are discussing about basic programming concepts.
Java is a general purpose object oriented programming language. There are few technical terms in the first sentence, it might be difficult to understand for a beginner's ,right here I can explain the basic terms.
Java is a general purpose object oriented programming language. There are few technical terms in the first sentence, it might be difficult to understand for a beginner's ,right here I can explain the basic terms.
Program-Series of
instructions (Code) to perform a particular task. And Collection of program's
are referred to a Software
Language's you know it
very well, which using for communication. Here computer Language's are
classified into 2 category's,
they are Machine Language or
Low level language and High Level Language
Machine Language - Which
is the one and only language, a computer can understood directly and this is
binary itself either 0 or 1.Simply we can say computer could understood binary
language only.
Programming instructions written
by using a natural language(English) is termed as High level language.
Example for the high level
language's are Java,C,C++,PHP,ASP etc.
So it's very clear now a computer
can understood binary language only, but we are giving instructions in high-level
language. So here is the term Compiler you have to learn.
A compiler is a software
that converts the high level language into machine level language.Simply we can keep the idea as compiler is a translator.
You have already noticed that Java is an object oriented language,
So what is an object oriented language or what are the features of an object
oriented language.
An object is thing from the real world with some
characteristic and behavior. For example a `pen` it's an object, the color of
the ink or type of the pen these are the characteristic and which is used to 'write'
that’s the behavior.
In terms of programming characteristic will be the data and
behavior will be the actions over the data, termed as functions or methods
Another important term is Class which is a collection
of similar objects that share some common properties.
From real life, Fruits is class and Orange,apple,banana are
the object s, you can easily identify that which share some common properties
that is why collectively called as a FRUIT.
In other words we can define a class id made up with
collection of similar objects.
You may confuse why the author is more deeply discussing
about these terms, instead directly flying to JAVA. In my views first thing is
first and as a beginner basic terms you have to concrete in your mind which will
help you entire way of learning.
I hope, now the definition of JAVA is make sense for you.
Thank you
Comments
Post a Comment