Cse229: Programming in Java: Through This Course Students Should Be Able To

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CSE229: PROGRAMMING IN JAVA

L:3 T:0 P:2 Credits:4

Course Outcomes: Through this course students should be able to

• Using basic constructs of Java programming to solve the real-world problems


• Applying the Object-oriented programming principles to write efficient and reusable codes
• Understanding the application of abstract classes, interfaces and Lambda expressions
• Developing robust java applications to handle environment specific issues at run-time
• Using predefined java libraries and in-built data structures to develop efficient java applications

Unit I Executing First Java Program: Installation of JDK, writing first Java program, Compiling,
Executing using Command Prompt and IDE, Writing Comments and Debugging Java Program
Data Types, Variables and Operators: Primitive Data types, variables and Operators
Array and String: Working with Arrays, Characters and Strings

Unit II Basic I/O: Describing the basics of input and output in Java, Read and write data from the console
Control Statements: Using conditional statements, using for, while and do while loops and optimizing
the number of iterations
Methods: Defining method, invoking the method, Method Overloading and using internal functions
Lambda Expressions: Defining and using lambda expressions

Unit III Object Oriented Programming: Object Oriented Programming principles, benefits of OOP
Encapsulation: Introduction to Classes and Objects, modelling real-life problems using classes &
objects, defining and invoking constructors, using this, final and static keywords
Abstraction: private access modifier, private methods and constructors and implementing getter &
setter methods

Inheritance: Overview of inheritance, working with subclasses and super-classes, Method


Unit IV
Overriding, Dynamic polymorphism, Inheritance vs Composition
Abstract classes and Interfaces: Defining abstract Java classes and creating subclasses, using
interfaces and understanding the importance of default and static methods, implementing
anonymous classes

Arrays and Linked List: Using Arrays, Structure and basic operations on ArrayList and LinkedList,
Unit V
Using Iterators, Performance Measurement, Performance of different operations in ArrayList and
LinkedList
Exception Handling: Handling Exceptions: An overview, Propagation of exceptions, Catching and
throwing exceptions, handling multiple exceptions and errors, Defining the purpose of Java
exceptions, Using the try and throw statements, Using the catch, multi-catch, and finally clauses,
Autoclose resources with a try-with-resources statement, recognizing common exception classes
and categories, creating custom exceptions

Assertions: using assertions in Java to test the environment


Unit VI Stream API: Using Stream API, creating streams and implementing intermediate and terminal
operations on Streams
Serialization: Using ObjectInputStream and ObjectOutputStream and Object serialization

Page:1/2
List of Practical:
• Last non-zero digit of the factorial
• Variance and Standard-Deviation
• Prime numbers less than or equal to n (Part I)
• Prime numbers less than or equal to n (Part II)
• Pascal Triangle
• Two people meet each other
• Container with more water
• Print the Sum Triangle of an Array
• Binary Number Without Consecutive 1's
• Minimize (MAX-MIN) of triplets
• Partition Negative and Positive
• Sum of the product of all possible subsets
• Sorting Array by Rotating Subarrays
• Division of the Chocolate Bar
• Minimum Value of “Max + Min” in a Subarray
• Closest Product Pair in an Array
References:

1. INTRODUCTION TO JAVA PROGRAMMING by Y. DANIEL LIANG, PEARSON


2. JAVA THE COMPLETE REFERENCE by HERBERT SCHILDT, MCGRAW HILL EDUCATION

Page:2/2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy