055001- JAVA PROGRRAMMING

On completion of the following units of syllabus contents, the students must be able to
Know the paradigms of programming languages.
Understand the concepts of Object Oriented Programming.
State the benefits and applications of Object Oriented Programming.
Know the history of development of Java. ?Comprehend the features and tokens of Java.
Explain about the control structures used inJava.
Use of Arrays and Vectors in Java Program. ?Demonstrate the use of string and String Buffers.
Define Class with the attributes and methods.
Understand the need for interfaces.
Implement Interfaces in classes.
Create packages.
Write simple Applets.
List the types of AWT Components and types of exceptions.
Handle the errors using exceptions.
Understand the concepts of multithreading.
Develop multithreaded programs in Java. Define stream and list the types of streams.

Java features, Java Runtime Environment, Java Virtual Machine (JVM), Java-API, Java Programs, Essential Elements of a Java Application, Compiling and Running an Application, Lexical Tokens, Identifiers, Keywords, Literals- Integer & Floating Point Literals, Boolean Literals, Character Literals, String Literals, White Spaces, Comments, Primitive data types- Integer Types, Char Types, Floating Types, Boolean Types, Class Declaration, Variable Declaration- Declaring and Initializing Variables of Primitive Type, Command Line Arguments, Comments, Arithmetic and Logical Operators, Evaluation of Expressions, Type casting-Widening and Narrowing.

Control Statements: - if else statement, nested if else statement, switch statement, while, do-while and for loop, break and continue.
Enumerated Types:- Declaring Type safe Enums, Declaring Enum Constructors and Members, Implicit static methods for Enum Types, Inherited Methods from the Enum Class, Extending Enum Types.
Arrays: - Declaring Array Variables, Constructing an Array, Initializing an Array, Anonymous Arrays, Multidimensional Arrays, String Array, String Methods, String Buffer Class.

Class and Objects: Class Declarations, Method Declaration, ConstructorsDefault and Overloaded Constructors, Defining a class, Instance Members, Static Members, Primitive and Reference Variable, Initial Values for Variables, Lifetime of Variable, Objects, Invoking Methods, Instance Initializer Block, Static Initializer Block, Methods Creating objects, Accessing class members, Constructors, Method Overloading, Static members, Nesting of Methods, this keyword, Command line input,
Parameter Passing: Passing Primitive and Reference Values, Passing Array, final parameters, Variable Arity Methods- Calling Varargs Methods, NonVarargs Method Calls, The main method.
Access Control:- Packages- Defining Package, Using Packages, Compiling Code onto Package, Running Code from Package, Scope Rules- Class scope for Members, Block Scope for Local Variables, abstract classes, final classes, Member Accessibility Modifiers- public, private Default and protected accessibility for members, Other Modifiers for Members- static Members, final Members, abstract Methods, synchronized Methods, native Methods, transient field, volatile Field.
Inheritance:- Inheritance, Inheritance Hierarchy, Overriding methods, Hiding Methods- Field Hiding, Static Method Hiding, this and super Constructor Call, Chaining Constructors using this and super, Inheritance vs Aggregation, Reference casting- instance of Operator, Cast Operator.

Abstract Class and Interface: Abstract Class, Abstract method Declarations, Extending Abstract Class, Defining interface, Extending Interface, Implementing Interfaces, Extending Interfaces, Interface References, Constants in Interface, Default values for Members, Default Accessibility Modifiers for Members.

Applets: Introduction –Applet Life cycle –Creating & Executing an Applet – Applet tags in HTML –Parameter tag –Aligning the display - Graphics Class: Drawing and filling lines – Rectangles – Polygon – Circles – Arcs – Line Graphs – Drawing Bar charts AWT Components and Even Handlers: Abstract window tool kit – Event Handlers – Event Listeners – AWT Controls and Event Handling: Labels –Text Component –Action Event – Buttons –Check Boxes –Item Event - Choice –Scrollbars –Layout ManagersInput Events –Menus

Exception Handling: Exception, Advantages of Exception Handling, Checked Exceptions, try-catch-finally Construct, try-finally Construct, Throwing an exception, Throws Clause.
Multithreading: Thread Class, Creating Threads, Life of a Thread, Defining & Running Thread, Thread Methods, Thread Priority, Synchronization, Implementing Runnable interface, Thread Scheduling.
JDBC- Architecture of JDBC- Two-tier Architecture, Three-tier Architecture, JDBC drivers, Connect a Java Application to Database.
I/O STREAMS: Basics Concepts, Input and Output Stream, File Input and Output Stream, Printwriter Class, Write Method, Read and Readline Method.

1. Write a Java program to display the count of all commands line arguments and list each in a line
2. Write a program to find out sum of digits of given number
3. Write a program to display multiplication table in row, column format
4. Write a program to
a) To find whether the given number is prime or not
b) To display all prime numbers in a given range of numbers
5. Write a program to create an array of integers and accept a number. Check whether it exits in the array. Create your own exception with appropriate error message and raise the exception when the element is not found in the array.
6. Write a program to copy a file to another file using java.io package Classes.
7. Write a program to get a file at runtime and display the number of lines, words and characters in that file.
8. Programming exercise on Arrays and String
9. Programming exercise on inheritance
10. Write Program for exception handling
11. Write programs for Multithreading
12. Programming exercise on Java applets
13. Write program for Java Data base connectivity
Contributions are welcome!
If you find any issues or want to add new features, feel free to submit a pull request on GITHUB

To Download Privious Year Question Papers of all Semester (CSE) Follow and DM on -



Website Developed by