Java Programming

Write once, run anywhere


SYLLABUS

UNIT-I

INTRODUCTION TO OOPS Introduction to object-oriented programming -principles of object-oriented languages procedural languages Vs. OOPs -applications of OOPs -java features - JVM -program structures -Variables -primitive data types –identifiers -naming conventions –keywords literals –operators –binary -unary and ternary –expression -precedence rules and associativity -primitive type conversion and casting, flow of control.

UNIT-II

PROGRAMMING CONSTRUCTS [6 Hours] Arrays-one dimensional and multidimensional -command line arguments. Introducing classes –class fundamentals –methods -objects -constructors –this keyword –-garbage collection Nested Classes – Polymorphism.

UNIT-III

INHERITANCE, INTERFACE AND EXCEPTIONS Types of inheritance-Super and Final -Interface-Abstract Classes- Interface vs Abstract classes -Packages-Creating Packages -access protection - Exception handling, importance of try, catch, throw, throws and finally block, user defined exceptions, Assertions.

UNIT-IV

MULTITHREADING AND I/O Threads -Thread Life Cycle-Thread priority –multithreading –Synchronization -suspending and resuming threads -communication between threads. Java I/O streaming –filter and pipe streams. [8 Hours]

UNIT-V

COLLECTION FRAMEWORKS Collection Framework in Java –Introduction to Java Collections, Overview of Java Collection frame work, Generics, commonly used Collection classes–Array List, Vector, Hash table, Stack, Enumeration, Iterator, String Tokenizer, Random, Scanner, calendar and Properties.