S.Y.B.Sc.
(Computer Science)
SEMESTER - III (CBCS)
CORE JAVA
SUBJECT CODE : USCS302
, © UNIVERSITY OF MUMBAI
Prof. Suhas Pednekar
Vice-Chancellor,
University of Mumbai,
Prof. Ravindra D. Kulkarni Prof. Prakash Mahanwar
Pro Vice-Chancellor, Director,
University of Mumbai, IDOL, University of Mumbai,
Programme Co-ordinator :Shri Mandar Bhanushe
Head, Faculty of Science and Technology,
IDOL, University of Mumbai, Mumbai
Course Co-ordinator : Mr. Sumedh Shejole
Asst. Professor,
IDOL, University of Mumbai, Mumbai
Editor : Mr Milind Thorat
Assistant Professor
K J Somaiya Institute of Engineering & IT
Mumbai
Writers : Ahtesham Shaikh
Anjuman-i-Islam's Akbar Peerbhoy College
Vashi, Navi Mumbai
: Mrs. Vandana Maurya
B.K. Birla College(Autonomous), Kalyan
: Dr. Manisha Divate
Usha Pravin Gandhi College of Arts,
Science and Commerce, Mumbai
July 2022, Print - I
Published by : Director
Institute of Distance and Open Learning ,
University of Mumbai,
Vidyanagari, Mumbai - 400 098.
ipin Enterprises
Tantia Jogani Industrial Estate, Unit No. 2,
DTP Composed and : Mumbai
GroundUniversity Press Mill Compound,
Floor, Sitaram
Printed by Vidyanagari, Santacruz (E), Mumbai - 400098
J.R. Boricha Marg, Mumbai - 400 011
, CONTENTS
Unit No. Title Page No.
Unit- I
1. The Java Language 01
2. OOPS 18
3. String Manipulations and Introduction to Packages 33
Unit - II
4. Exception Handling 50
5. Multithreading 66
6. I/O Streams 86
7. Networking 102
Unit - III
8. Wrapper Classes 117
9. Collection Framework 123
10. Inner Classes 138
11. AWT 146
, Course: TOPICS (Credits : 02 Lectures/Week:03)
USCS302 Core Java
Objectives:
The objective of this course is to teach the learner how to use Object Oriented paradigm to develop
code and understand the concepts of Core Java and to cover-up with the pre-requisites of Core java.
Expected Learning Outcomes:
1. Object oriented programming concepts using Java.
2. Knowledge of input, its processing and getting suitable output.
3. Understand, design, implement and evaluate classes and applets.
4. Knowledge and implementation of AWT package.
The Java Language: Features of Java, Java programming format, Java Tokens,
Java Statements, Java Data Types, Typecasting, Arrays
OOPS: Introduction, Class, Object, Static Keywords, Constructors, this Key
Word, Inheritance, super Key Word, Polymorphism (overloading and
Unit I 15L
overriding), Abstraction, Encapsulation, Abstract Classes, Interfaces
String Manipulations: String, String Buffer, String Tokenizer
Packages: Introduction to predefined packages (java.lang, java.util, java.io,
java.sql, java.swing), User Defined Packages, Access specifiers
Exception Handling: Introduction, Pre-Defined Exceptions, Try-Catch-Finally,
Throws, throw, User Defined Exception examples
Multithreading: Thread Creations, Thread Life Cycle, Life Cycle Methods,
Synchronization, Wait() notify() notify all() methods
Unit II 15L
I/O Streams: Introduction, Byte-oriented streams, Character- oriented streams,
File, Random access File, Serialization
Networking: Introduction, Socket, Server socket, Client –Server
Communication
Wrapper Classes: Introduction, Byte, Short, Integer, Long, Float, Double,
Character, Boolean classes
Collection Framework: Introduction, util Package interfaces, List, Set, Map,
List interface & its classes, Set interface & its classes, Map interface & its classes
(Computer Science)
SEMESTER - III (CBCS)
CORE JAVA
SUBJECT CODE : USCS302
, © UNIVERSITY OF MUMBAI
Prof. Suhas Pednekar
Vice-Chancellor,
University of Mumbai,
Prof. Ravindra D. Kulkarni Prof. Prakash Mahanwar
Pro Vice-Chancellor, Director,
University of Mumbai, IDOL, University of Mumbai,
Programme Co-ordinator :Shri Mandar Bhanushe
Head, Faculty of Science and Technology,
IDOL, University of Mumbai, Mumbai
Course Co-ordinator : Mr. Sumedh Shejole
Asst. Professor,
IDOL, University of Mumbai, Mumbai
Editor : Mr Milind Thorat
Assistant Professor
K J Somaiya Institute of Engineering & IT
Mumbai
Writers : Ahtesham Shaikh
Anjuman-i-Islam's Akbar Peerbhoy College
Vashi, Navi Mumbai
: Mrs. Vandana Maurya
B.K. Birla College(Autonomous), Kalyan
: Dr. Manisha Divate
Usha Pravin Gandhi College of Arts,
Science and Commerce, Mumbai
July 2022, Print - I
Published by : Director
Institute of Distance and Open Learning ,
University of Mumbai,
Vidyanagari, Mumbai - 400 098.
ipin Enterprises
Tantia Jogani Industrial Estate, Unit No. 2,
DTP Composed and : Mumbai
GroundUniversity Press Mill Compound,
Floor, Sitaram
Printed by Vidyanagari, Santacruz (E), Mumbai - 400098
J.R. Boricha Marg, Mumbai - 400 011
, CONTENTS
Unit No. Title Page No.
Unit- I
1. The Java Language 01
2. OOPS 18
3. String Manipulations and Introduction to Packages 33
Unit - II
4. Exception Handling 50
5. Multithreading 66
6. I/O Streams 86
7. Networking 102
Unit - III
8. Wrapper Classes 117
9. Collection Framework 123
10. Inner Classes 138
11. AWT 146
, Course: TOPICS (Credits : 02 Lectures/Week:03)
USCS302 Core Java
Objectives:
The objective of this course is to teach the learner how to use Object Oriented paradigm to develop
code and understand the concepts of Core Java and to cover-up with the pre-requisites of Core java.
Expected Learning Outcomes:
1. Object oriented programming concepts using Java.
2. Knowledge of input, its processing and getting suitable output.
3. Understand, design, implement and evaluate classes and applets.
4. Knowledge and implementation of AWT package.
The Java Language: Features of Java, Java programming format, Java Tokens,
Java Statements, Java Data Types, Typecasting, Arrays
OOPS: Introduction, Class, Object, Static Keywords, Constructors, this Key
Word, Inheritance, super Key Word, Polymorphism (overloading and
Unit I 15L
overriding), Abstraction, Encapsulation, Abstract Classes, Interfaces
String Manipulations: String, String Buffer, String Tokenizer
Packages: Introduction to predefined packages (java.lang, java.util, java.io,
java.sql, java.swing), User Defined Packages, Access specifiers
Exception Handling: Introduction, Pre-Defined Exceptions, Try-Catch-Finally,
Throws, throw, User Defined Exception examples
Multithreading: Thread Creations, Thread Life Cycle, Life Cycle Methods,
Synchronization, Wait() notify() notify all() methods
Unit II 15L
I/O Streams: Introduction, Byte-oriented streams, Character- oriented streams,
File, Random access File, Serialization
Networking: Introduction, Socket, Server socket, Client –Server
Communication
Wrapper Classes: Introduction, Byte, Short, Integer, Long, Float, Double,
Character, Boolean classes
Collection Framework: Introduction, util Package interfaces, List, Set, Map,
List interface & its classes, Set interface & its classes, Map interface & its classes