Skip to main content

JAVA Tutorial Part 1


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.
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

Popular posts from this blog

Java Tutorial Part 3 (Features of Java)

Simple: Java is designed to be easy to learn. syntax is based on C++ Object Oriented:   In Java, everything is an Object. Java can be easily extended since it is based on the Object model Platform independent:   Java code can be run on multiple platforms  Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by virtual Machine (JVM) on whichever platform it is being run.   Secure:   With Java's secure feature it enables to develop virus-free, tamper-free systems.  Java program cannot harm other system thus making it secure Java provides secure way to access web applications Java provides secure means of creating internet applications Robust Java encourages error free programming by being strictly typed and performing compile time and ru...

HTML Tutorial Part 1

HTML - Hyper Text Markup Language which is used to create webpages. Common HTML Terms Elements or Tag An html element or a tag is similar to a command in programming language,here it defines the content or structure in a web page. Elements have to create by using a angle brackets. Example :  <html> <head> Tags most commonly occur in pairs of opening and closing tags. (<html> </html>) See the general structure of an html program. <html> <head> <title> Sample program</title> </head> <body> Actual body contents go here </body> </html> All html elements need to keep in between <html> </html> tags. <head> specifies the heading of html web page. <title> keep inside the <head> tag, the content in between <title>  and </title> would be the title displays on title bar of your browser. The page contents lies in between <body> and...

HTML Video and Audio

Before HTML5, there was no standard for showing videos on a web page. Before HTML5, videos could only be played with a plug-in (like flash). The HTML5 <video> element specifies a standard way to embed a video in a web page. To show a video in HTML, use the   <video>  element: < video   width= "320"   height= "240"   controls >     < source   src= "movie.mp4"   type= "video/mp4" >     < source   src= "movie.ogg"   type= "video/ogg" > Your browser does not support the video tag. < /video > The   controls   attribute adds video controls, like play, pause, and volume. It is a good idea to always include   width   and   height   attributes. If height and width are not set, the browser does not know the size of the video. The effect will be that the page will change (or flicker) while the video loads. Text between the <video> and </v...