SlideShare a Scribd company logo
Syllabus : MSCHN 304 ( JAVA Programming Part I )

Section I
Unit 1: Introduction to Java Technology
Brief history of Java
Java Development Kit (JDK)
Java Compiler
Java Interpreter
Source Code & Byte code with “Hello World” Application

Data types, Variables, Expressions
Basic Data Types
       Integers - example, size in bytes
       Characters - example, size in bytes
       Floating Points - example, size in bytes
       Boolean - example, size in bytes
Variables
       Declaration of variable
       Assignment Statements
       Scope and lifetime of a variable
Expressions
A simple java program illustrating variables

Java Escape Characters, Keywords & Operators
Special characters
       n, t, 
Output using system.out.print and system.out.println
Recognize and use formatting parameters (%b, %c, %d, %f, %s) in format strings
Comments
       /* */
       //
Separators
Keywords
Arithmetic Operators : + - * / % ++ —
A simple Java program illustrating operators
Operator precedence
A simple Java program illustrating operator precedence

Unit 2: Selection Statements
Control statement
If Statement
Relational Integer operators: > < >= <= == !=
Logical operators: && || !
Simple Java programs illustrating relational operators

if … else
switch … case … default
Simple Java programs illustrating if … elseif
Simple Java programs illustrating switch … case
Conditional boolean operator (? :)

Unit 3: Iteration Statements
Loops
         for
         while
         do…while
Program illustrating for, while and do…while loop
Nested loop
Program illustrating nested for loop
Jump statements
         break;
         continue;

Unit 4: Introducing Classes and Methods
Class and object fundamentals
Declaring classes
Declaring object
The “new” operator
A Java program to show class declaration and class object creation
Introducing class variables
A Java program using class variables
Introducing methods
         Adding method to a class
         Adding a method that takes parameters
         Call by primitive value & call by object reference
         Method returning value
A Java program using class methods with no parameter
A Java program using class methods with parameter and return value

Method overloading
A Java program to illustrate method overloading
Final methods
Method with variable-length argument
Nested class
Object as a class member variable
A Java program to illustrate that Java objects can be used as class members

Unit 5: Constructors & Garbage collection
Concept of Constructor
        Null constructor
        Explicit Constructor
        Parameterized constructor
A Java program with explicit constructors
Concept of garbage collection
Behaviors of System.gc and finalization

Unit 6: Inheritance
Inheritance basics
Advantage of inheritance
Deriving classes – Extends
A Java program to illustrate class inheritance
Usage of super
Using super to call super class constructor
A Java program illustrating “super”
Method overriding
A Java program showing method overriding
Access modifiers: Private, protected, public
A Java program illustrating the accessibility of member variables and methods

Unit 7: Packages
        Defining a package
        Import statement
        Understanding CLASSPATH
        A short package example
Access protection revised: Package (default)
        Classes in same package
        Classes in different package
        Sub classes in same package
        Sub classes in different package
Concept of tight encapsulation, loose coupling, and high cohesion in classes
Abstract Base Class and Methods
A Java program showing usage of Abstract Base Class
Interfaces
        Why interfaces
        Defining interfaces
        Implementing interfaces
        A Java program to illustrate interface and its implementation

Unit 8: Arrays in Java
Concept of array
Rules for declaring arrays
Array indexing
Accessing array elements
A Java program to demonstrate an array
Array initialization
One-dimensional array
Array as class data member
A Java program to illustrate array as class data member
Two-dimensional array
A Java program to demonstrate a two dimensional array.
Array of objects
A Java program illustrating array of objects
Enum

Unit 9: String Handling
A brief idea about String
Differences between the String, StringBuilder, and StringBuffer classes
Format or parse dates, numbers, and currency values for a specific locale using java.text
Purpose and use of the java.util.Locale class
Sorting of String


Section II

Unit 10: Exception Handling
Exception handling fundamentals
Runtime exception, a checked exception, or an error
Predefined exception
Triggering a predefined exception (ArithmeticException)
A Java program which triggers an exception with Command line arguments
Handling the exception
         try … catch construct and finally clause
A Java program to illustrate try…catch construct
Multiple catch clauses and finally clause
A program multiple catch clauses
         (IndexOutOfBoundsException, NumberFormatException)
Usage of throws
Usage of throw
A program to demonstrate throws
Creating your own exception subclasses
A program using user defined exception.
Exceptions thrown by the virtual machine
Recognize situations that will result in any of the following being thrown:
ArrayIndexOutOfBoundsException, ClassCastException, IllegalArgumentException,
IllegalStateException, NullPointerException, NumberFormatException,
AssertionError, ExceptionInInitializerError, StackOverflowError or NoClassDefFoundError.

Unit 11: Input/Output: Exploring java.io
Java InputStream & OutputStream classes
System.in & System.out object
A Java program to read keyboard characters
DataInputStream & DataOutputStream class
BufferedReader & BufferedWriter class
StringBufferInputStream class
File, FileReader & FileWriter class
FileInputStream & FileOutputStream class
PrintStream class
PrintWriter class
PrintWriter.format/printf methods
ObjectInputStream, ObjectOutputStream
Concept of serializes and/or de-serializes objects and Serializable
Formatter and Scanner classes

Unit 12: Multithreaded Programming
Concept of thread
Define, instantiate, and start new threads
         Extending Thread Class
Implementing Runnable interface
Example illustrating multiple threads by Thread class & Runnable interface
Thread scheduling
Thread.isAlive() & Thread.join() method
Finalizer
Thread priorities
A Java program illustrating thread priorities
Synchronizing with other threads
Use of wait, notify, or notifyAll


Section III

Unit 13: Introducing the AWT: Working with Windows Graphics and Text
The AWT package
Windows fundamentals
        Component
        Container
        Panel
        Window
        Frame
        Canvas
Frame and Panel classes
Working with Frame windows
        Setting frame dimensions
        Hiding and showing a window
        Setting a frame title
A Java program illustrating the above subjects
Working with Frame windows
        Closing a frame window
        Displaying information within a window
A Java program illustrating frame window
Working with Graphics (Using Panel)
        Drawing lines, rectangles, ellipses, circles, polygons
Working with color and Font




Unit 14: Layout Managers, Menus, Events, Listeners & Adapter Classes
Layout Manager: FlowLayout, BorderLayout, GridLayout

Handling menu
A program showing menu and menu bars
Event package
Event handling with listener interfaces
               ActionListener
Handling events from multiple sources
ItemListener
WindowsListener, KeyListener
Handling events with Adapter class

Unit 15: Applet
What is Applet?
Applets and web pages
Limitation of applets
Applet basics
The applet class
Applet initialisation and termination
         init(), start(), paint(), stop(), destroy()
Example of the simplest possible Java applet
Running applet using applet viewer
The “hello world” applet example
The HTML APPLET tag- CODE, ALT, NAME, WIDTH, HEIGHT
Drawing graphics
The scribble applet
Passing parameters to applet
An example of getting parameters
A Java applet to display an image
GetDocumentBase(), GetCodeBase()
Class-wise Schedule : MScHN-304
Unit No.             Topics                                                   Scheduled Taken Scheduled Taken
                                                                                Th Hr   Th Hr   Pr Hr    Pr Hr



                    Introduction to Java Technology, Data types, Variables,
Unit 1              Expressions                                                  2                2
Unit 2              Selection Statement                                          2                2
Unit 3              Iteration Statements                                         2                2
Unit 4              Introducing Classes and Methods                              2                2
Unit 5              Constructors & Garbage collection                            2                2
Unit 6              Inheritance                                                  2                2
Unit 7              Packages                                                     2                2
Unit 8              Arrays in Java                                               2                2
Unit 9              String Handling                                              2                2
Unit 10             Exception Handling                                           2                2
Unit 11             Input/Output: Exploring java.io                              2                2
Unit 12             Multithreaded Programming                                    2                2
                    Introducing the AWT: Working with Windows Graphics
Unit 13             and Text                                                     2                2
                    Layout Managers, Menus, Events, Listeners & Adapter
Unit 14             Classes                                                      2                2
Unit 15             Applet                                                       2                2
Class test (Theory) Unit 1 - 15                                                  2

Declaration : All the classes mentioned above have been covered in our batch

More Related Content

What's hot

Reflection in java
Reflection in javaReflection in java
Reflection in java
upen.rockin
 
Core java notes with examples
Core java notes with examplesCore java notes with examples
Core java notes with examples
bindur87
 
Sdtl manual
Sdtl manualSdtl manual
Sdtl manual
qaz8989
 
Java API, Exceptions and IO
Java API, Exceptions and IOJava API, Exceptions and IO
Java API, Exceptions and IO
Jussi Pohjolainen
 
Unit 2 Java
Unit 2 JavaUnit 2 Java
Unit 2 Java
arnold 7490
 
Java session11
Java session11Java session11
Java session11
Niit Care
 
Advanced Reflection in Java
Advanced Reflection in JavaAdvanced Reflection in Java
Advanced Reflection in Java
kim.mens
 
Java Programming Assignment
Java Programming AssignmentJava Programming Assignment
Java Programming Assignment
Vijayananda Mohire
 
Java Tutorial
Java TutorialJava Tutorial
Java Tutorial
Singsys Pte Ltd
 
Ppt chapter12
Ppt chapter12Ppt chapter12
Ppt chapter12
Richard Styner
 
Swing
SwingSwing
Swing
Fahim Khan
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012
Coen De Roover
 
Delphi qa
Delphi qaDelphi qa
Delphi qa
sandy14234
 
Basics of Java
Basics of JavaBasics of Java
Basics of Java
Sherihan Anver
 
Java Unit 2(part 3)
Java Unit 2(part 3)Java Unit 2(part 3)
Java Unit 2(part 3)
SURBHI SAROHA
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+java
Ye Win
 
Java Unit 2(Part 1)
Java Unit 2(Part 1)Java Unit 2(Part 1)
Java Unit 2(Part 1)
SURBHI SAROHA
 
Basics of reflection in java
Basics of reflection in javaBasics of reflection in java
Basics of reflection in java
kim.mens
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Java
backdoor
 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examples
Sunil Kumar Gunasekaran
 

What's hot (20)

Reflection in java
Reflection in javaReflection in java
Reflection in java
 
Core java notes with examples
Core java notes with examplesCore java notes with examples
Core java notes with examples
 
Sdtl manual
Sdtl manualSdtl manual
Sdtl manual
 
Java API, Exceptions and IO
Java API, Exceptions and IOJava API, Exceptions and IO
Java API, Exceptions and IO
 
Unit 2 Java
Unit 2 JavaUnit 2 Java
Unit 2 Java
 
Java session11
Java session11Java session11
Java session11
 
Advanced Reflection in Java
Advanced Reflection in JavaAdvanced Reflection in Java
Advanced Reflection in Java
 
Java Programming Assignment
Java Programming AssignmentJava Programming Assignment
Java Programming Assignment
 
Java Tutorial
Java TutorialJava Tutorial
Java Tutorial
 
Ppt chapter12
Ppt chapter12Ppt chapter12
Ppt chapter12
 
Swing
SwingSwing
Swing
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012
 
Delphi qa
Delphi qaDelphi qa
Delphi qa
 
Basics of Java
Basics of JavaBasics of Java
Basics of Java
 
Java Unit 2(part 3)
Java Unit 2(part 3)Java Unit 2(part 3)
Java Unit 2(part 3)
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+java
 
Java Unit 2(Part 1)
Java Unit 2(Part 1)Java Unit 2(Part 1)
Java Unit 2(Part 1)
 
Basics of reflection in java
Basics of reflection in javaBasics of reflection in java
Basics of reflection in java
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Java
 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examples
 

Viewers also liked

Happy 17th kenzi!!!
Happy 17th kenzi!!!Happy 17th kenzi!!!
Happy 17th kenzi!!!
nlday
 
03. daily routine 2
03. daily routine 203. daily routine 2
03. daily routine 2
Emmanuel Palestras
 
Present simple afirmative
Present simple    afirmativePresent simple    afirmative
Present simple afirmative
Emmanuel Palestras
 
Whquestions
WhquestionsWhquestions
Whquestions
Emmanuel Palestras
 
Future with going to
Future with going toFuture with going to
Future with going to
Emmanuel Palestras
 
Progressions
ProgressionsProgressions
Progressions
Emmanuel Palestras
 
Make me a partner: Increasing motivation to exercise using virtual partners
Make me a partner: Increasing motivation to exercise using virtual partnersMake me a partner: Increasing motivation to exercise using virtual partners
Make me a partner: Increasing motivation to exercise using virtual partners
bcirwin
 
Slide simple present neg and int
Slide   simple present neg and intSlide   simple present neg and int
Slide simple present neg and int
Emmanuel Palestras
 
Locations and directions
Locations and directionsLocations and directions
Locations and directions
Emmanuel Palestras
 
คำนาม คือ อะไร
คำนาม คือ อะไรคำนาม คือ อะไร
คำนาม คือ อะไรohm25251101
 
アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098
アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098
アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098sachiho_nanami
 
アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098
アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098
アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098sachiho_nanami
 
3. there is there are
3. there is there are3. there is there are
3. there is there are
Emmanuel Palestras
 

Viewers also liked (13)

Happy 17th kenzi!!!
Happy 17th kenzi!!!Happy 17th kenzi!!!
Happy 17th kenzi!!!
 
03. daily routine 2
03. daily routine 203. daily routine 2
03. daily routine 2
 
Present simple afirmative
Present simple    afirmativePresent simple    afirmative
Present simple afirmative
 
Whquestions
WhquestionsWhquestions
Whquestions
 
Future with going to
Future with going toFuture with going to
Future with going to
 
Progressions
ProgressionsProgressions
Progressions
 
Make me a partner: Increasing motivation to exercise using virtual partners
Make me a partner: Increasing motivation to exercise using virtual partnersMake me a partner: Increasing motivation to exercise using virtual partners
Make me a partner: Increasing motivation to exercise using virtual partners
 
Slide simple present neg and int
Slide   simple present neg and intSlide   simple present neg and int
Slide simple present neg and int
 
Locations and directions
Locations and directionsLocations and directions
Locations and directions
 
คำนาม คือ อะไร
คำนาม คือ อะไรคำนาม คือ อะไร
คำนาม คือ อะไร
 
アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098
アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098
アーバニズム2012_A2_ヒルベルザイマーの都市計画_名波祥穂_11N1098
 
アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098
アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098
アーバニズム2012_B4_五つの未来都市_名波祥穂_11N1098
 
3. there is there are
3. there is there are3. there is there are
3. there is there are
 

Similar to Javamschn3

01slide
01slide01slide
Core java-introduction
Core java-introductionCore java-introduction
Core java-introduction
Ramlal Pawar
 
01slide
01slide01slide
01slide
cdclabs_123
 
01slide
01slide01slide
01slide
Usha Sri
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVA
Home
 
01slide
01slide01slide
01slide
Horesh Kumar
 
Java 7
Java 7Java 7
Java 7
Rajiv Gupta
 
4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf
amitbhachne
 
It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_en
George Birbilis
 
01slide (1)ffgfefge
01slide (1)ffgfefge01slide (1)ffgfefge
01slide (1)ffgfefge
bsnl007
 
Java intro
Java introJava intro
Java intro
husnara mohammad
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2
miiro30
 
Java session01
Java session01Java session01
Java session01
Niit Care
 
Java
JavaJava
Core java-course-content
Core java-course-contentCore java-course-content
Core java-course-content
AmanCSE1
 
Core java-course-content
Core java-course-contentCore java-course-content
Core java-course-content
AmanCSE1
 
Core java-training-course-content
Core java-training-course-contentCore java-training-course-content
Core java-training-course-content
venkateshcs6
 
Complete java
Complete javaComplete java
Complete java
cncwebworld
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for Designers
R. Sosa
 
What is Java Technology (An introduction with comparision of .net coding)
What is Java Technology (An introduction with comparision of .net coding)What is Java Technology (An introduction with comparision of .net coding)
What is Java Technology (An introduction with comparision of .net coding)
Shaharyar khan
 

Similar to Javamschn3 (20)

01slide
01slide01slide
01slide
 
Core java-introduction
Core java-introductionCore java-introduction
Core java-introduction
 
01slide
01slide01slide
01slide
 
01slide
01slide01slide
01slide
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVA
 
01slide
01slide01slide
01slide
 
Java 7
Java 7Java 7
Java 7
 
4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf
 
It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_en
 
01slide (1)ffgfefge
01slide (1)ffgfefge01slide (1)ffgfefge
01slide (1)ffgfefge
 
Java intro
Java introJava intro
Java intro
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2
 
Java session01
Java session01Java session01
Java session01
 
Java
JavaJava
Java
 
Core java-course-content
Core java-course-contentCore java-course-content
Core java-course-content
 
Core java-course-content
Core java-course-contentCore java-course-content
Core java-course-content
 
Core java-training-course-content
Core java-training-course-contentCore java-training-course-content
Core java-training-course-content
 
Complete java
Complete javaComplete java
Complete java
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for Designers
 
What is Java Technology (An introduction with comparision of .net coding)
What is Java Technology (An introduction with comparision of .net coding)What is Java Technology (An introduction with comparision of .net coding)
What is Java Technology (An introduction with comparision of .net coding)
 

Recently uploaded

Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
Fwdays
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 

Recently uploaded (20)

Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 

Javamschn3

  • 1. Syllabus : MSCHN 304 ( JAVA Programming Part I ) Section I Unit 1: Introduction to Java Technology Brief history of Java Java Development Kit (JDK) Java Compiler Java Interpreter Source Code & Byte code with “Hello World” Application Data types, Variables, Expressions Basic Data Types Integers - example, size in bytes Characters - example, size in bytes Floating Points - example, size in bytes Boolean - example, size in bytes Variables Declaration of variable Assignment Statements Scope and lifetime of a variable Expressions A simple java program illustrating variables Java Escape Characters, Keywords & Operators Special characters n, t, Output using system.out.print and system.out.println Recognize and use formatting parameters (%b, %c, %d, %f, %s) in format strings Comments /* */ // Separators Keywords Arithmetic Operators : + - * / % ++ — A simple Java program illustrating operators Operator precedence A simple Java program illustrating operator precedence Unit 2: Selection Statements Control statement If Statement Relational Integer operators: > < >= <= == != Logical operators: && || ! Simple Java programs illustrating relational operators if … else switch … case … default Simple Java programs illustrating if … elseif
  • 2. Simple Java programs illustrating switch … case Conditional boolean operator (? :) Unit 3: Iteration Statements Loops for while do…while Program illustrating for, while and do…while loop Nested loop Program illustrating nested for loop Jump statements break; continue; Unit 4: Introducing Classes and Methods Class and object fundamentals Declaring classes Declaring object The “new” operator A Java program to show class declaration and class object creation Introducing class variables A Java program using class variables Introducing methods Adding method to a class Adding a method that takes parameters Call by primitive value & call by object reference Method returning value A Java program using class methods with no parameter A Java program using class methods with parameter and return value Method overloading A Java program to illustrate method overloading Final methods Method with variable-length argument Nested class Object as a class member variable A Java program to illustrate that Java objects can be used as class members Unit 5: Constructors & Garbage collection Concept of Constructor Null constructor Explicit Constructor Parameterized constructor A Java program with explicit constructors Concept of garbage collection Behaviors of System.gc and finalization Unit 6: Inheritance Inheritance basics
  • 3. Advantage of inheritance Deriving classes – Extends A Java program to illustrate class inheritance Usage of super Using super to call super class constructor A Java program illustrating “super” Method overriding A Java program showing method overriding Access modifiers: Private, protected, public A Java program illustrating the accessibility of member variables and methods Unit 7: Packages Defining a package Import statement Understanding CLASSPATH A short package example Access protection revised: Package (default) Classes in same package Classes in different package Sub classes in same package Sub classes in different package Concept of tight encapsulation, loose coupling, and high cohesion in classes Abstract Base Class and Methods A Java program showing usage of Abstract Base Class Interfaces Why interfaces Defining interfaces Implementing interfaces A Java program to illustrate interface and its implementation Unit 8: Arrays in Java Concept of array Rules for declaring arrays Array indexing Accessing array elements A Java program to demonstrate an array Array initialization One-dimensional array Array as class data member A Java program to illustrate array as class data member Two-dimensional array A Java program to demonstrate a two dimensional array. Array of objects A Java program illustrating array of objects Enum Unit 9: String Handling A brief idea about String Differences between the String, StringBuilder, and StringBuffer classes
  • 4. Format or parse dates, numbers, and currency values for a specific locale using java.text Purpose and use of the java.util.Locale class Sorting of String Section II Unit 10: Exception Handling Exception handling fundamentals Runtime exception, a checked exception, or an error Predefined exception Triggering a predefined exception (ArithmeticException) A Java program which triggers an exception with Command line arguments Handling the exception try … catch construct and finally clause A Java program to illustrate try…catch construct Multiple catch clauses and finally clause A program multiple catch clauses (IndexOutOfBoundsException, NumberFormatException) Usage of throws Usage of throw A program to demonstrate throws Creating your own exception subclasses A program using user defined exception. Exceptions thrown by the virtual machine Recognize situations that will result in any of the following being thrown: ArrayIndexOutOfBoundsException, ClassCastException, IllegalArgumentException, IllegalStateException, NullPointerException, NumberFormatException, AssertionError, ExceptionInInitializerError, StackOverflowError or NoClassDefFoundError. Unit 11: Input/Output: Exploring java.io Java InputStream & OutputStream classes System.in & System.out object A Java program to read keyboard characters DataInputStream & DataOutputStream class BufferedReader & BufferedWriter class StringBufferInputStream class File, FileReader & FileWriter class FileInputStream & FileOutputStream class PrintStream class PrintWriter class PrintWriter.format/printf methods ObjectInputStream, ObjectOutputStream Concept of serializes and/or de-serializes objects and Serializable Formatter and Scanner classes Unit 12: Multithreaded Programming Concept of thread Define, instantiate, and start new threads Extending Thread Class
  • 5. Implementing Runnable interface Example illustrating multiple threads by Thread class & Runnable interface Thread scheduling Thread.isAlive() & Thread.join() method Finalizer Thread priorities A Java program illustrating thread priorities Synchronizing with other threads Use of wait, notify, or notifyAll Section III Unit 13: Introducing the AWT: Working with Windows Graphics and Text The AWT package Windows fundamentals Component Container Panel Window Frame Canvas Frame and Panel classes Working with Frame windows Setting frame dimensions Hiding and showing a window Setting a frame title A Java program illustrating the above subjects Working with Frame windows Closing a frame window Displaying information within a window A Java program illustrating frame window Working with Graphics (Using Panel) Drawing lines, rectangles, ellipses, circles, polygons Working with color and Font Unit 14: Layout Managers, Menus, Events, Listeners & Adapter Classes Layout Manager: FlowLayout, BorderLayout, GridLayout Handling menu A program showing menu and menu bars Event package Event handling with listener interfaces ActionListener Handling events from multiple sources ItemListener
  • 6. WindowsListener, KeyListener Handling events with Adapter class Unit 15: Applet What is Applet? Applets and web pages Limitation of applets Applet basics The applet class Applet initialisation and termination init(), start(), paint(), stop(), destroy() Example of the simplest possible Java applet Running applet using applet viewer The “hello world” applet example The HTML APPLET tag- CODE, ALT, NAME, WIDTH, HEIGHT Drawing graphics The scribble applet Passing parameters to applet An example of getting parameters A Java applet to display an image GetDocumentBase(), GetCodeBase()
  • 7. Class-wise Schedule : MScHN-304 Unit No. Topics Scheduled Taken Scheduled Taken Th Hr Th Hr Pr Hr Pr Hr Introduction to Java Technology, Data types, Variables, Unit 1 Expressions 2 2 Unit 2 Selection Statement 2 2 Unit 3 Iteration Statements 2 2 Unit 4 Introducing Classes and Methods 2 2 Unit 5 Constructors & Garbage collection 2 2 Unit 6 Inheritance 2 2 Unit 7 Packages 2 2 Unit 8 Arrays in Java 2 2 Unit 9 String Handling 2 2 Unit 10 Exception Handling 2 2 Unit 11 Input/Output: Exploring java.io 2 2 Unit 12 Multithreaded Programming 2 2 Introducing the AWT: Working with Windows Graphics Unit 13 and Text 2 2 Layout Managers, Menus, Events, Listeners & Adapter Unit 14 Classes 2 2 Unit 15 Applet 2 2 Class test (Theory) Unit 1 - 15 2 Declaration : All the classes mentioned above have been covered in our batch