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

Basic Computer Shortcuts

Ctrl+C : Copies selected content. Ctrl+V : Pastes copied content Ctrl+X : Cut's selected content Ctrl+Z : undo the previous action Ctrl+Y : redo the action you undid Ctrl+A : Selects whole content Ctrl+P : print Windows Logo key( )+Down Arrow : Minimizes the window. Windows Logo key( )+Up Arrow : Maximizes the window. Windows Logo key( )+Left/Right Arrow : To compare two windows. While pressing the Windows logo key  , click the Right Arrow key or the Left Arrow key and your browser will slide over to one side. Select another window (such as a Word document) and use the shortcut only with the opposite arrow. Windows Logo key( )+L  : Locks your computer Windows Logo key( )+P : Presentation display mode Windows Logo key( )+Plus(+)/Minus(-)  : Zoom In and Zoom Out Windows Logo key( )+F : Search for a file Windows Logo key( )+F1 : help Ctrl+Shift+Esc : To open Task Manager

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