Skip to main content

Posts

Showing posts from 2015

Java Tutorial Part 5

Keywords Keywords are the predefined words in a program,we can't alter the meaning of keywords. Ex:- for,do,if,class,public. There are almost 62 keywords are in java Identifiers Which is used to give name for a variable or class or methods. Rules for a valid identifier are, *identifiers name must need to begin with an alphabet not by a number.(i.e. 1name is invalid name1 is valid) *Keywords will not be an identifier *Case sensitive, upper case and lower case are treated differently (if you have a variable HELLO and hello, system will treat both in differently)

Java tutorial Part 4

i mport java.io.*; class   example {      public   static   void  main(String  args [])   {            System.out.println ("Hello Java");      }    }   Let's look at how to save the file, compile and run the program. Please follow the steps given below:   Open notepad and add the code as above.   Save the file as: example.java .   Open a command prompt window and go o the directory where you saved the class. Assume it's C :\.   Set the path   Type ' javac example .java ' and press enter to compile your code. If there are no errors in your code, the command prompt will take you to the next line (Assumption : The path variable is set).   Now, type ' java example ' to run your program.   You will be able to see ' Hello Java ' printed on the window.   Understanding first java ...

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

Java Tutorial Part 2

Tools required to create Java program. Before creating a program, understood what are requirement to create a java program Java Development Kit(JDK) You have to install java development kit (JDK) in your machine. JDK contains the resource to create a program ,which contains java compiler ,java interpreter, jar, javdoc etc. A Text Editor -Earlier we have used notepad ,this is the best for a beginner to learn but in professional approach we have to use an Integrated Development Environment(IDE) like Netbeans or Eclipse An integrated development environment ( IDE ) is a software application that provides comprehensive facilities to computer programmers for software development. An  IDE  normally consists of a source code editor, build automation tools and a debugger.  

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

What is a Programming Language

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 . 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:-Java,C++,Ruby,PHP etc

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

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

Alphabet-Google divided and formed new company.

Google, the Internet giant has been divided into form a new company Alphabet(www.abc.xyz). According to Larry Page the Alphabet CEO,Alphabet will be a collection of companies and Google will be the largest one in the group and he has appointed Mr.Sundar Pichai as the new CEO of Google.The founder's of Google Larry Page and Sergey Brin will be CEO and President of newly formed Alphabet. So as a user we can expect more products from google and Alphabet, its a nice name which means that collection of letter,in coming days dictionary has to update the synonym to Google's collection of companies or some thing like that. You can read Mr.Larry Page's Blogg.. http://googleblog.blogspot.in/2015/08/google-alphabet.html

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

Windows 10 preview

World wide Microsoft Windows users are eagerly waiting for the latest operating System Windows 10,which is going to launch very soon. If you are interested with Windows 10,you can download the preview and evaluation versions from the following link. click here for windows 10 preview

What is CSS?

Cascading Style Sheet ( CSS ),it defines the styles for HTML elements or how an HTML element to displayed. There are three ways to use CSS in an HTML file.    Inline CSS by using a style  attribute with html tag     Internal CSS using a  <style> element  in the HTML <head> section     External CSS using one or more  external CSS files Inline CSS Example <html> <body style="background-color:lightgrey"> <h2 style="color:red">Hello</h2> </body> </html> So here we used the style as inline for the <body> and <h1>element.Remember the syntax for inline, style="property:Value" If you want to give multiple property's just separate by a semicolon(;). Internal CSS Internal - using a  <style> element  in the HTML <head> section <html> <head> <style> body {backg...

Popular Acronyms and Abbreviation used in Information Technology

You may confused many times with lots of acronyms what's it stands for? So you can find out here some useful abbreviations and acronyms. CD: Compact Disc DVD: Digital Versatile Disc/Digital Video Disc HD: High Definition JPG: Joint Photographic Graphics JPEG: Joint Photographic expert Group HTML:Hyper Text Markup Language XML:Extensible Markup Language PHP: PHP:Hypertext Preprocessor HDD: Hard Disc Drive BIOS: Basic Input/Output System ROM: Read Only Memory RAM: Random Access Memory DB: Database DTS: Digital Theater System ASP: Active Server Page USB: Universal Serial Bus DOS: Disk Operating System MPEG:Motion Picture Experts Group OS:Operating System APP: Application WWW: World Wide Web HTTP: Hyper Text Transfer Protocol HTTPS: Hyper Text Transfer Protocol Secure FTP: File Transfer Protocol SSL: Secure Socket Layer LED:Light Emitting Diode GPS: Global Positioning System PDF: Portable Document Format

Learn the basic IT terms

Most of us are computer and Internet users,if i ask a question "What is an Internet or Computer?",most of them will be silent. Actually they are using it 24x7 time,but they don't know how to define its in a technical way. So here itself you can try to learn some definition of some basic IT Terms. 1) Computer :-Its a digital electronic, data processing and multi tasking device. 2) Internet :- Internet is a collection of computer networks. 3) Network :-A network is a group of two or more computer devices connected together by using cables or wireless. 4) Database :-Database is a collection of organized data.Access,Oracle,MySql are the examples of relational database system.In a relational database ,data's are arranged by using tables(relations). Figure shows the symbol a database. 5) Program :-Sequence of instruction given to the system to solve a particular task is called program. 6) Software :-A collection of program that can do many tasks.Example...