Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
1
JAVA
INTRODUCTION
© 2018, computersirkiclass.com, all rights reserved
2
• History of JAVA
• Advantages of JAVA
• JAVA Vs C++
• JAVA Development Kit(JDK)
• JAVA Runtime Environment
OUTLINE
3
History Of JAVA-1
• Java is a high level object-oriented programming
language developed by James Gosling at Sun
Microsys...
4
History Of JAVA-2
• They developed a platform independent
software based on the power of networks
that can run on differ...
5
Java Versions
Version Date
JDK 1.0 23-Jan-1996
JDK 1.1 19-feb-1997
J2SE 1.2 8-Dec-1998
J2SE 1.3 8-May-2000
J2SE 1.4 06-F...
6
Advantages Of JAVA
• Simple & Familiar
• Object-Oriented
• Compiled & Interpreted
• Platform Independent &Portable
• Rob...
7
Simple & Familiar
• Java was designed to be simple
and familiar to learn language.
• Fundamental concepts can be
grasped...
8
Object-Oriented
• All coding and data reside within object and
classes.
• Java has built-In exception handling.
• Everyt...
9
Compiled & Interpreted
• Java is both a compiled
and Interpreted language.
• Java Compiler generates
platform-independen...
10
Platform-Independent & Portable
• Java programs are designed to work
in a networked environment on a
variety of compute...
11
Robust
• Java has hard-and-fast rules for
compile-time and runtime error
checking.
• Java supports automatic garbage
co...
12
Secure
• Usage in networked environment
requires more security.
• JVM verifies all byte codes before
execution & ensure...
13
Distributed
• Java is network friendly.
• Java is designed as a distributed
language for creating
applications on netwo...
14
Multithreaded
• This feature allows us to handle
multiple tasks simultaneously.
• Designed to run multiple
threads.
• E...
15
Dynamic & Extensible
• Provides a highly dynamic
runtime environment.
• Allows dynamically linking in new
class librari...
16
• Class definitions take the similar form in java as in C++, but there
is no closing semicolon.
• Operator overloading ...
17
JDK is a free software development package from Sun Microsystems. Java
Development Kit (JDK) contains tools needed to d...
18
• Java Runtime Environment contains JVM, class libraries, and other
supporting files. It does not contain any developme...
19
• talk at me at
sir@computersirkiclass.com
• Share this information with as
many people as possible.
• Keep visiting
ww...
Upcoming SlideShare
Loading in …5
×

Java Introduction

1,284 views

Published on

Some Introduction points about the core java language including its history.

Published in: Technology
  • Be the first to comment

Java Introduction

  1. 1. 1 JAVA INTRODUCTION © 2018, computersirkiclass.com, all rights reserved
  2. 2. 2 • History of JAVA • Advantages of JAVA • JAVA Vs C++ • JAVA Development Kit(JDK) • JAVA Runtime Environment OUTLINE
  3. 3. 3 History Of JAVA-1 • Java is a high level object-oriented programming language developed by James Gosling at Sun Microsystems in the early 1990s. • James Gosling was unhappy using c++ programming language so he developed Java. • Originally designed in (1991) as a small language for consumer electronics (cable boxes, toasters etc.) • A team of Sun Microsystems in the guidance of James Gosling decided to develop an advanced programming language for the betterment of consumer electronic devices.
  4. 4. 4 History Of JAVA-2 • They developed a platform independent software based on the power of networks that can run on different application areas, such as computers and electronic devices. • It was initially called 'Oak‘. • It was renamed as 'JAVA' released in 1995 as a core component of Sun Microsystems Java platform.
  5. 5. 5 Java Versions Version Date JDK 1.0 23-Jan-1996 JDK 1.1 19-feb-1997 J2SE 1.2 8-Dec-1998 J2SE 1.3 8-May-2000 J2SE 1.4 06-Feb-2002 J2SE 5.0 30-Sep-2004 Java SE 6 11-Dec-2006 Java SE 7 28-July-2011 Other Version of JAVA along with their release dates -
  6. 6. 6 Advantages Of JAVA • Simple & Familiar • Object-Oriented • Compiled & Interpreted • Platform Independent &Portable • Robust • Secure • Distributed • Multithreaded • Dynamic & Extensible.
  7. 7. 7 Simple & Familiar • Java was designed to be simple and familiar to learn language. • Fundamental concepts can be grasped quickly as the features borrowed from C & C++. • Features were removed that led to poor programming practices or were rarely used. • It does not use pointers, goto statement, Preprocessor header files etc.
  8. 8. 8 Object-Oriented • All coding and data reside within object and classes. • Java has built-In exception handling. • Everything in Java (except the primitive data types) is an object. • The object model in java is simple and easy to extend so that complex programming problems can be reduced to simple solutions. • Extensive set of classes, arranged in packages e.g. java.awt, java.io, java.net .
  9. 9. 9 Compiled & Interpreted • Java is both a compiled and Interpreted language. • Java Compiler generates platform-independent byte codes that are interpreted into machine readable instructions by a Java Virtual Machine (Java Interpreter) at runtime.
  10. 10. 10 Platform-Independent & Portable • Java programs are designed to work in a networked environment on a variety of computers and operating systems. • The size of the primitive data types are machine independent. • Compiler generates platform- independent byte codes rather than native machine code, so it can be implemented on any machine.
  11. 11. 11 Robust • Java has hard-and-fast rules for compile-time and runtime error checking. • Java supports automatic garbage collection so all memory corruptions or unauthorized memory accesses are impossible. • Many error-prone features of C/C++ programming were removed.
  12. 12. 12 Secure • Usage in networked environment requires more security. • JVM verifies all byte codes before execution & ensures all programs follow the rules regarding object access and usage. • Java ensures that program cannot gain access to memory locations without proper authorization.
  13. 13. 13 Distributed • Java is network friendly. • Java is designed as a distributed language for creating applications on networks. • Multiple programmers can work together on a single project from multiple remote locations. • Both data and programs can be shared on networks.
  14. 14. 14 Multithreaded • This feature allows us to handle multiple tasks simultaneously. • Designed to run multiple threads. • Easy to implement. • Other systems have provided facilities via light weight libraries, but Java has in-built language support. • Great for multimedia displays.
  15. 15. 15 Dynamic & Extensible • Provides a highly dynamic runtime environment. • Allows dynamically linking in new class libraries, methods and objects. • New code can be linked on demand from anywhere on the network and new types can be created as needed dynamically.
  16. 16. 16 • Class definitions take the similar form in java as in C++, but there is no closing semicolon. • Operator overloading is not possible in java. • Java has no templates as in C++. • Java doesn’t provide direct support for multiple inheritance of classes. We can accomplish multiple inheritance using a new feature called ‘interface’. • Java does not support global variables. Every variables and method is declared within class and forms part of that class. • Java doesn’t use pointers. • The destructor function is replaced with a finalize() function. • There are no header files in java. • Java supports multithreading. JAVA Vs C++
  17. 17. 17 JDK is a free software development package from Sun Microsystems. Java Development Kit (JDK) contains tools needed to develop the Java programs, and JRE to run the programs. The Basic tools are- • appletviewer – Run and debug applets without a web browser. • Java – The java interpreter runs the Java applets & applications by reading and interpreting byte code files. The same launcher is used for deployment and development purpose. • Javac – This is the core of java, which translates the java source code to bytecode files that the interpreter can understand. • javadoc – It is used to generate API documentation. • javah – Produces header files for use with native methods. • javap – Java disassembler, which enables us to convert bytecode files into a program description. • jdb – Java Debugger, which helps us to find errors in our programs. JAVA Development Kit
  18. 18. 18 • Java Runtime Environment contains JVM, class libraries, and other supporting files. It does not contain any development tools such as compiler, debugger, etc. Actually JVM runs the program, and it uses the class libraries, and other supporting files provided in JRE. If you want to run any java program, you need to have JRE installed in the system. It primarily contains- • Java Virtual Machine – interprets the intermediate java byte code and generates the desired output. • Runtime class libraries – contains set of class libraries. • User Interface Toolkits – AWT and Swing are examples of toolkits that support various input methods for the users to interact with the application program. • Deployment Technologies – – Java plug-in: for execution of a Java applet on the browser. – Java web Start: for remote deployment of an application. JAVA Runtime Environment
  19. 19. 19 • talk at me at sir@computersirkiclass.com • Share this information with as many people as possible. • Keep visiting www.computersirkiclass.com for programme updates.

×