SlideShare a Scribd company logo
I/O
Minal Maniar
Automatically
 I/O package
 Stream: A sequence of data.
Input Stream: reads data from source.
Output Stream: writes data to destination.
Automatically
 I/O methods
 Character Streams
 Byte Streams
Automatically
Automatically
 Unicode is a universal international standard
character encoding that is capable of
representing most of the world's
written languages.
 Before Unicode, there were many language
standards:
 ASCII (American Standard Code for Information
Interchange) for the United States.
 ISO 8859-1 for Western European Language.
 KOI-8 for Russian.
 GB18030 and BIG-5 for Chinese.
Automatically
 Problem
 A particular code value corresponds to different
letters in the various language standards.
 The encodings for languages with large character
sets have variable length. Some common
characters are encoded as single bytes, other
require two or more byte.
 Solution
 To solve these problems, a new language
standard was developed i.e. Unicode System.
 In unicode, character holds 2 byte, so java also
uses 2 byte for characters.
lowest value:u0000
highest value:uFFFF
Automatically
Automatically
Automatically
 The File class contains the methods for
obtaining the properties of a file/directory and
for renaming and deleting a file/directory.
 The File class is intended to provide an
abstraction that deals with most of the machine
dependent complexities of files and path names
in a machine-independent fashion.
 The File class contains the methods for obtaining
file and directory properties and for renaming
and deleting files and directories
Automatically
Automatically
 BufferedReader & BufferedWriter
Automatically
 Introduction to Java Programming,
Comprehensive Version (10th Edition), Y. Daniel
Liang
 Java The Complete Reference (9th Edition),
Herbert Schildt

More Related Content

PPT
Unicode Fundamentals
PPT
Internationalisation And Globalisation
PPTX
PDF
UTF-8: The Secret of Character Encoding
PPTX
Unicode
PPTX
PDT DC015 Chapter 2 Computer System 2017/2018 (e)
PPTX
Xml For Dummies Chapter 6 Adding Character(S) To Xml
DOCX
Strings and encodings
Unicode Fundamentals
Internationalisation And Globalisation
UTF-8: The Secret of Character Encoding
Unicode
PDT DC015 Chapter 2 Computer System 2017/2018 (e)
Xml For Dummies Chapter 6 Adding Character(S) To Xml
Strings and encodings

What's hot (10)

PDF
PDF
Character Sets
PDF
Unicode Encoding Forms
PPTX
Lecture 2
PDF
PDF
The Good, the Bad, and the Ugly: What Happened to Unicode and PHP 6
PDF
Towards a mnemonic classification of software languages
PPTX
Lecture 4 system programming-data representation
PDF
Understanding Names with Neural Networks - May 2020
PDF
C datatypes
Character Sets
Unicode Encoding Forms
Lecture 2
The Good, the Bad, and the Ugly: What Happened to Unicode and PHP 6
Towards a mnemonic classification of software languages
Lecture 4 system programming-data representation
Understanding Names with Neural Networks - May 2020
C datatypes
Ad

Viewers also liked (9)

PDF
3 interaction and_state_modeling
PDF
2 class use case
PDF
Object oriented thinking
PDF
1 modeling concepts
PDF
Class method object
PDF
Java8 features
PDF
4 sdlc
PDF
5 collection framework
PDF
Multi t hreading_14_10
3 interaction and_state_modeling
2 class use case
Object oriented thinking
1 modeling concepts
Class method object
Java8 features
4 sdlc
5 collection framework
Multi t hreading_14_10
Ad

Similar to Io (20)

PPTX
Type हिन्दी in Java
PPTX
Type हिन्दी in Java
PDF
Abap slide class4 unicode-plusfiles
PPT
Lecture_ASCII and Unicode.ppt
PPT
Unicode
PDF
Data encryption and tokenization for international unicode
DOC
Comprehasive Exam - IT
PPTX
Encoding Nightmares (and how to avoid them)
PDF
Unicode Primer for the Uninitiated
PPTX
Unicode 101
PPSX
Character encoding and unicode format
PPTX
Jun 29 new privacy technologies for unicode and international data standards ...
PPTX
chapter-2.pptx
PPT
Software Internationalization Crash Course
PPTX
Storing text
PDF
multilanguage.pdf
PPTX
PPT on Fundamantals of information technology
PPTX
What character is that
PPTX
Character encoding standard(1)
PDF
HTTP 완벽가이드 16장
Type हिन्दी in Java
Type हिन्दी in Java
Abap slide class4 unicode-plusfiles
Lecture_ASCII and Unicode.ppt
Unicode
Data encryption and tokenization for international unicode
Comprehasive Exam - IT
Encoding Nightmares (and how to avoid them)
Unicode Primer for the Uninitiated
Unicode 101
Character encoding and unicode format
Jun 29 new privacy technologies for unicode and international data standards ...
chapter-2.pptx
Software Internationalization Crash Course
Storing text
multilanguage.pdf
PPT on Fundamantals of information technology
What character is that
Character encoding standard(1)
HTTP 완벽가이드 16장

More from Minal Maniar (6)

PPTX
Exception handling
PPTX
Java ce241
PDF
Java servlet technology
PPT
Oop java
PPTX
modeling concepts
PPTX
modeling concepts
Exception handling
Java ce241
Java servlet technology
Oop java
modeling concepts
modeling concepts

Recently uploaded (20)

PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Construction Project Organization Group 2.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
OOP with Java - Java Introduction (Basics)
DOCX
573137875-Attendance-Management-System-original
PPTX
Welding lecture in detail for understanding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Well-logging-methods_new................
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Construction Project Organization Group 2.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
OOP with Java - Java Introduction (Basics)
573137875-Attendance-Management-System-original
Welding lecture in detail for understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Strings in CPP - Strings in C++ are sequences of characters used to store and...
Internet of Things (IOT) - A guide to understanding
Well-logging-methods_new................
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

Io

  • 2. Automatically  I/O package  Stream: A sequence of data. Input Stream: reads data from source. Output Stream: writes data to destination.
  • 3. Automatically  I/O methods  Character Streams  Byte Streams
  • 5. Automatically  Unicode is a universal international standard character encoding that is capable of representing most of the world's written languages.  Before Unicode, there were many language standards:  ASCII (American Standard Code for Information Interchange) for the United States.  ISO 8859-1 for Western European Language.  KOI-8 for Russian.  GB18030 and BIG-5 for Chinese.
  • 6. Automatically  Problem  A particular code value corresponds to different letters in the various language standards.  The encodings for languages with large character sets have variable length. Some common characters are encoded as single bytes, other require two or more byte.  Solution  To solve these problems, a new language standard was developed i.e. Unicode System.  In unicode, character holds 2 byte, so java also uses 2 byte for characters. lowest value:u0000 highest value:uFFFF
  • 9. Automatically  The File class contains the methods for obtaining the properties of a file/directory and for renaming and deleting a file/directory.  The File class is intended to provide an abstraction that deals with most of the machine dependent complexities of files and path names in a machine-independent fashion.  The File class contains the methods for obtaining file and directory properties and for renaming and deleting files and directories
  • 12. Automatically  Introduction to Java Programming, Comprehensive Version (10th Edition), Y. Daniel Liang  Java The Complete Reference (9th Edition), Herbert Schildt