Uploaded on Jun 2, 2021
PPT on Brief Guide on Java Programming Language.
Brief Guide on Java Programming Language.
Brief Guide on Java Programming Language Introduction • Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 [J2SE]). Source: www.tutorialspoint.com Latest Release • The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. Source: www.tutorialspoint.com Java - Overview • Object Oriented − In Java, everything is an Object. Java can be easily extended since it is based on the Object model. • Platform Independent − 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. Source: www.tutorialspoint.com Advantages • Simple − Java is designed to be easy to learn. If you understand the basic concept of OOP Java, it would be easy to master. • Secure − With Java's secure feature it enables to develop virus-free, tamper- free systems. Authentication techniques are based on public-key encryption. Source: www.tutorialspoint.com Advantages Cont. • Portable − Being architecture-neutral and having no implementation dependent aspects of the specification makes Java portable. • Robust − Java tries to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking. Source: www.tutorialspoint.com Advantages Cont. • High Performance − With the use of Just-In-Time compilers, Java enables high performance. • Distributed − Java is designed for the distributed environment of the internet. Source: www.tutorialspoint.com Tools You Will Need • For performing the examples discussed in this tutorial, you will need a Pentium 200-MHz computer with a minimum of 64 MB of RAM (128 MB of RAM recommended). • You will also need the following softwares − – Linux 7.1 or Windows xp/7/8 operating system – Java JDK 8 – Microsoft Notepad or any other text editor Source: www.tutorialspoint.com Local Environment Setup • Java SE is freely available from the link Download Java. You can download a version based on your operating system. • Follow the instructions to download Java and run the .exe to install Java on your machine. Source: www.tutorialspoint.com Popular Java Editors • Notepad − On Windows machine, you can use any simple text editor like Notepad (Recommended for this tutorial), TextPad. • Netbeans − A Java IDE that is open-source and free which can be downloaded from https://www.netbeans.org/index.html. • Eclipse − A Java IDE developed by the eclipse open-source community and can be downloaded from https://www.eclipse.org/. Source: www.tutorialspoint.com Java - Basic Syntax • When we consider a Java program, it can be defined as a collection of objects that communicate via invoking each other's methods. • Let us look at a simple code that will print the words Hello World. public class MyFirstJavaProgram { /* This is my first java program. This will print 'Hello World' as the output */ public static void main(String []args) { System.out.println("Hello World"); // prints Hello World } } Source: www.tutorialspoint.com
Comments