&
BCA III SEM
, BCA THIRD YEAR SESSION-2015-2016 BCA 301 JAVA PROGRAMMING
C++ Vs JAVA, JAVA and Internet and WWW, JAVA support systems, JAVA environment. JAVA
program structure, Tokens, Statements, JAVA virtual machine, Constant & Variables, Data Types,
Declaration of Variables, Scope of Variables, Symbolic Constants, Type Casting.
Operators : Arithmetic, Relational, Logical Assignments, Increment and Decrement, Conditional, Bitwise,
Special, Expressions & its evaluation. If statement, if…else… statement, Nesting of if…else… statements,
else…if Ladder, Switch, ? operators, Loops – While, Do, For, Jumps in Loops, Labelled Loops.
Defining a Class, Adding Variables and Methods, Creating Objects, Accessing Class Members,
Constructors, Methods Overloading, Static Members, Nesting of Methods. Inheritance: Extending
a Class, Overriding Methods, Final Variables and Methods, Final Classes, Finalize Methods, Abstract
methods and Classes, Visibility Control. Arrays: One Dimensional & two Dimensional, strings, Vectors,
wrapper Classes,
Defining Interface Extending Interface, Implementing Interface, Accessing Interface Variable, System
Packages, Using System Package, Adding a Class to a Package, Hiding Classes. Creating Threads,
Extending the Threads Class, Stopping and Blocking a Thread, Life Cycle of a Thread, Using Thread
Methods, Thread Exceptions, Thread Priority, Synchronization, Implementing the Runnable Interface.
Local and Remote Applets Vs Applications, Writing Applets, Applets Life Cycle, Creating an Executable
Applet, Designing a Web Page, Applet Tag, Adding Applet to HTML File, Running the Applet,
Passing Parameters to Applets, Aligning the Display, HTML Tags & Applets, Getting Input from
TheUser.
, OOP Concepts
Object Oriented Programming is a paradigm that provides many concepts such as
inheritance, data binding, polymorphism etc.
Simula is considered as the first object-oriented programming language. The programming paradigm
where everything is represented as an object is known as truly object-oriented programming language.
Smalltalk is considered as the first truly object-oriented programming language.
OOPs (Object Oriented Programming System)
Object means a real word entity such as pen, chair, table etc. Object-Oriented Programming is
a methodology or paradigm to design a program using classes and objects. It simplifies the software
development and maintenance by providing some concepts:
o Object
o Class
o Inheritance
o Polymorphism
o Abstraction
o Encapsulation
Object
Any entity that has state and behavior is known as an object. For example: chair, pen, table,
keyboard, bike etc. It can be physical and logical.
Class
Collection of objects is called class. It is a logical entity.
Inheritance
When one object acquires all the properties and behaviours of parent object i.e. known as
inheritance. It provides code reusability. It is used to achieve runtime polymorphism.