0% found this document useful (0 votes)
352 views14 pages

Java Packages: Pros and Cons

This document discusses Java programming language and packages. It introduces Java, describing its key features like platform independence and object orientation. It defines packages as collections of classes and interfaces that can organize and reuse code. It also lists some standard Java packages, describes how to create packages, and discusses advantages like ease of learning and disadvantages like slow performance.

Uploaded by

Saurav Gupta
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
352 views14 pages

Java Packages: Pros and Cons

This document discusses Java programming language and packages. It introduces Java, describing its key features like platform independence and object orientation. It defines packages as collections of classes and interfaces that can organize and reuse code. It also lists some standard Java packages, describes how to create packages, and discusses advantages like ease of learning and disadvantages like slow performance.

Uploaded by

Saurav Gupta
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
  • Introduction of Java
  • Key Features of Java
  • Features of Packages
  • Standard Java Packages
  • Java.lang Package
  • Java.io Package
  • Creating a Package
  • Advantages of Java
  • Disadvantages of Java
  • Conclusions
  • References
  • Thanks

[Link].

org
Seminar
On
Java

Submitted To: Submitted By:


[Link] [Link]
Content
INTRODUCTION OF JAVA
KEY FEATURES OF JAVA
FEATURES OF PACKAGES
STANDARD JAVA PACKAGES
[Link] PACKAGE
[Link] PACKAGE
CREATING A PACKAGE
ADVANTAGES OF JAVA
DISADVANTAGES OF JAVA
CONCLUSIONS
REFERENCES
INTRODUCTION OF JAVA

Java is a programming language and environment


invented by James Gosling and others in 1994.
Java was originaly named Oak and was developed as a
part of the Green project at the Sun Company.
Java is an object-oriented programming language with a
built-in application programming interface (API) that
can handle graphics and user interfaces and that can be
used to create applications or applets.
KEY FEATURES OF JAVA

Plateform Independence
Encapsulation
Dynamic binding
Robust
Distributed
Portable
Performance
Multithreaded
Interpreted & Compiler
Architecture Neutral
FEATURES OF PACKAGES

Package names can be used to identify your classes.


Reusability of code is one of the most important
requirements in the software industry.
Reusability saves time, effort and also ensures
consistency.
In Java, the codes which can be reused by other
programs is put into a Package.
A Package is a collection of classes, interfaces and/or
other packages.
Packages are essentially a means of organizing classes
together as groups.
STANDARD JAVA PACKAGES
[Link] PACKAGE
[Link] PACKAGE
CREATING A PACKAGE

Java supports a keyword called package for creating


user-defined packages.
The package statement must be the first statement in a
Java source file (except comments and white spaces)
followed by one or more classes.
ADVANTAGES OF JAVA
[Link] is easy to learn.
[Link] is object-oriented.
[Link] is platform-independent.
[Link] is distributed.
[Link] is secure.
[Link] is robust.
[Link] is multithreaded
DISADVANTAGES OF JAVA

Slow
Environment limitations
Applet limitations imposed due to security model
Uncertain status of security
Programming language limitations
Platform limitations
General stability concerns
CONCLUSIONS

Java offers the real possibility that most programs can


be written in a type-safe language.
However, for Java to be broadly useful, it needs to have
more expressive power than it does at present.
REFERENCES

[Link]
[Link]
[Link]
Thanks

www.studymafia.org
Submitted To:
              Submitted By:
www.studymafia.org
Content 
INTRODUCTION OF JAVA
KEY FEATURES OF JAVA
FEATURES OF PACKAGES
STANDARD JAVA PACKAGES
JAVA.LANG PACKAGE
JAVA.I
INTRODUCTION OF JAVA
 
Java is a programming language and environment 
invented by James Gosling and others in 1994. 
Java
KEY FEATURES OF JAVA
Plateform Independence 
Encapsulation
Dynamic binding
Robust
Distributed
Portable
Performance
Mu
FEATURES OF PACKAGES
Package names can be used to identify your classes.
Reusability of code is one of the most important
STANDARD JAVA PACKAGES
JAVA.LANG PACKAGE
JAVA.IO PACKAGE
CREATING A PACKAGE
Java supports a keyword called “package” for creating 
user-defined packages. 
The package statement mus
ADVANTAGES OF JAVA
1.Java is easy to learn. 
2.Java is object-oriented. 
3.Java is platform-independent. 
4.Java is distribut

You might also like