SlideShare une entreprise Scribd logo
1  sur  7
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

Contenu connexe

Tendances

Reflection in java
Reflection in javaReflection in java
Reflection in javaupen.rockin
 
Core java notes with examples
Core java notes with examplesCore java notes with examples
Core java notes with examplesbindur87
 
Sdtl manual
Sdtl manualSdtl manual
Sdtl manualqaz8989
 
Java session11
Java session11Java session11
Java session11Niit Care
 
Advanced Reflection in Java
Advanced Reflection in JavaAdvanced Reflection in Java
Advanced Reflection in Javakim.mens
 
Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Ekeko Technology Showdown at SoTeSoLa 2012
Ekeko Technology Showdown at SoTeSoLa 2012Coen De Roover
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+javaYe Win
 
Basics of reflection in java
Basics of reflection in javaBasics of reflection in java
Basics of reflection in javakim.mens
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Javabackdoor
 
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 examplesSunil Kumar Gunasekaran
 

Tendances (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
 

En vedette

Happy 17th kenzi!!!
Happy 17th kenzi!!!Happy 17th kenzi!!!
Happy 17th kenzi!!!nlday
 
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 partnersbcirwin
 
Slide simple present neg and int
Slide   simple present neg and intSlide   simple present neg and int
Slide simple present neg and intEmmanuel 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
 

En vedette (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
 

Similaire à Javamschn3

Core java-introduction
Core java-introductionCore java-introduction
Core java-introductionRamlal Pawar
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVAHome
 
4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdf4CS4-25-Java-Lab-Manual.pdf
4CS4-25-Java-Lab-Manual.pdfamitbhachne
 
It pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enIt pro dev_birbilis_20101127_en
It pro dev_birbilis_20101127_enGeorge Birbilis
 
01slide (1)ffgfefge
01slide (1)ffgfefge01slide (1)ffgfefge
01slide (1)ffgfefgebsnl007
 
Fundamentals of oop lecture 2
Fundamentals of oop lecture 2Fundamentals of oop lecture 2
Fundamentals of oop lecture 2miiro30
 
Java session01
Java session01Java session01
Java session01Niit Care
 
Core java-course-content
Core java-course-contentCore java-course-content
Core java-course-contentAmanCSE1
 
Core java-training-course-content
Core java-training-course-contentCore java-training-course-content
Core java-training-course-contentvenkateshcs6
 
Core java-course-content
Core java-course-contentCore java-course-content
Core java-course-contentAmanCSE1
 
Java Programming for Designers
Java Programming for DesignersJava Programming for Designers
Java Programming for DesignersR. 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
 

Similaire à 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-training-course-content
Core java-training-course-contentCore java-training-course-content
Core java-training-course-content
 
Core java-course-content
Core java-course-contentCore java-course-content
Core java-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)
 

Dernier

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

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