The document outlines the CSE310 course on Programming in Java, detailing course outcomes and topics covered, including Java basics, object-oriented programming concepts like inheritance and polymorphism, exception handling, and collections. It also lists practical programming assignments that reinforce the concepts taught in the course. Additionally, it provides references for further reading on Java programming.
The document outlines the CSE310 course on Programming in Java, detailing course outcomes and topics covered, including Java basics, object-oriented programming concepts like inheritance and polymorphism, exception handling, and collections. It also lists practical programming assignments that reinforce the concepts taught in the course. Additionally, it provides references for further reading on Java programming.
(CSE310: PROGRAMMING IN JAVA
L:3 1:0 P:2 Creaits:4
Course Outcomes: Through this course students should be able to
Unit
nie ar
unitav
+ Wirte 28VA code that uses tokens, IRerals, operators and constructs
+ Understand the accessibility of felds and methods of an object and use of Sting and
StringBuilder classes
+ Apply the concent of inheritance to reuse and extend the features of existing class with
Secess contra!
+ Analyse the need of implementing Interfaces for multiple Inhertance and Lambda
Expressions |
+ Demonstrate Object Serialization with File handling and Exception handling to deal with
runtime errors
*+ Differentiate among different types of collections by implementing thelr methods
‘Java Platform Overview: Defining how the Java language achleves platform independence,
Differentiating between the Java ME, Java SE, and Java EE Platforms, Evaluating Java libraries,
‘midele-ware, ana database options, Defining how the Java language continues to evalve
What Is a Java Program?: Introduction to Computer Programs, Key Features ofthe Java
Language, The Java Technology and Development Environment, Running/testing a Java program
Creating a Java Main Class: Java Classes, The main Method
Data In the Cart: Introducing variables, Working with Strings, Working with numbers,
Manipulating numeric data
Managing Multiple Items: Working with Conditions, Working with a List of Items, Processing a
listaf tems
‘Manipulating and Formatting the Data in Your Program: Using the String Cass, Using the
StringBuilder Clas, More about primitive datatypes, The remaining numeric operators, Promoting
and casting variables
More on Conditionals: Relational and conditional operators, More ways to use ifalse
constructs, Using Switch Statements
More on Arrays and Loops: Working with Dates, Parsing the args Aray, Two-dimensional
Arrays, Alternate Looping Constructs, Nesting Loops, The ArrayList class
Describing Objects and Classes: Working with objects and classes, Defining fields and
‘methods, Deciaring, Instantiating, and Initializing Objects, Working with Object References, Doing
‘more with Arrays:
Creating and Using Methods: Using methods, Metned arguments and return values, tale
‘methods an variables, How Arguments are Passe to Method, Overtoacing a method
Using Encapsulation: Access Control, Encapsulation, Overloading constructors
Using Inheritance: Overview of inheritance, Working with subclasses and supercasses,
Overrding methods inthe sugercias, Introducing polymorphism, Creating and extending abstract
lasses, Modeling business problems using Java classes, Making Casses immutable
Overriding Methods, Polymorphism, and Static Classes: Using access levels: private,
protected, default, and publ, Overriing method, Using virtual method Invecaton, Using varargs
fo spect variable arguments, Using the instanceof operator to compare object types, Using UBWard
{and donnnard caste, Modeling business problems using the static Keyword, Implementing the
Singleton design pattern
Abstract and Nested Classes: Designing general-purpose base classes by using abstract classes,
Constructing abstract Java classes and subdasses, Aapiing final Keyword in Java, Distinguish
between top-evel and nested classes
Using Interfaces: Polymorphism in the JDK foundation classes, Using Interfaces, Using the
Lstinterace, Inveducng Lambda expressions,
Interfaces and Lambda Expressions: Defining a Java inteface, Choosing between interface
Inbertance and cass inhertance, Extending an interface, Defaulting methods, Anonymous
Inner Classes, Defining @ Lambda Expressionunit v
nit vi
Exceptions and Assertions: Handling Exceptions: An overview, Propagation of exceptions,
Catching and throwing exceptions, Handing multiple exceptions and errors, Definng the purpose
fof Java éxceations, Using the try and tivow statements, Using the catch, mult-eateh, and finally
Causes, Autoclose resources with a try-with-resources statement, Recognzing common exception
lasses and categores, Creating custom exceptions, Testing Invariants By using asservons
41/0 Fundamentals: Describing the basics of input and output In Java, Read and write data from
the console, Using streams to read and write fle, Writing and read objects using serialization
Collections and Generics: Creating 2 custom generic cass, Using the type inference diamond to
create an object, Creating a collection by using generics, Implementing an ArrayList, Implementing
2 TreeSet, Implementing @ HashMap, Implementing @ Deque, Ordering colections
LUst of Practical:
References:
‘Creating a Java Main Class: Program to implement @ java class
Managing Multiple ztems: Program to demonstrate the use of Ist of tems
Manipulating and Formatting the Data in Your Program: Program to demonstrate the uses of
‘String and StringBuilder
Describing Objects and Classes: Program to demonstrate the instantiation of class and accessing
the attributes using object of lass
Using Inheritance: Program to demonstrate the inhertance and its importance
‘Overriding Methods, Polymorphism, and Static Classes: Procram to
Implement polymorphism and using proper access control
‘Abstract and Nested Classes: Program to demonstrate the use of abstract dass and nested class
Interfaces and Lambda Expressions: Program to demonstrate the inheritance through interfaces
nd use of Lambda Expressions
Exceptions and Assertion: Program te demonstrate the use ofall te keywords used for exception
handling and need of assertion
11/0 Fundamentals: Program to impiement read and write operation using console and File
Generics: Program to deine generic class and creating generic collection
Collections: Program to implement ArrayList, HashMap,TreeSet and Deque
1. INTRODUCTION TO JAVA PROGRAMMING by ¥. DANIEL LIANG, PEARSON,
2. JAVA THE COMPLETE REFERENCE by HERBERT SCHILDT, MCGRAW HILL EDUCATION