CS3391 OBJECT ORIENTED PROGRAMMING Important questions

COURSE OBJECTIVES:
 To understand Object Oriented Programming concepts and basics of Java programming
language
 To know the principles of packages, inheritance and interfaces
 To develop a java application with threads and generics classes
 To define exceptions and use I/O streams
 To design and build Graphical User Interface Application using JAVAFX

UNIT I INTRODUCTION TO OOP AND JAVA
Overview of OOP – Object oriented programming paradigms – Features of Object Oriented
Programming – Java Buzzwords – Overview of Java – Data Types, Variables and Arrays –
Operators – Control Statements – Programming Structures in Java – Defining classes in Java –
Constructors-Methods -Access specifiers – Static members- Java Doc comments


UNIT II INHERITANCE, PACKAGES AND INTERFACES
Overloading Methods – Objects as Parameters – Returning Objects –Static, Nested and Inner
Classes. Inheritance: Basics– Types of Inheritance -Super keyword -Method Overriding – Dynamic
Method Dispatch –Abstract Classes – final with Inheritance. Packages and Interfaces: Packages –
Packages and Member Access –Importing Packages – Interfaces.


UNIT III EXCEPTION HANDLING AND MULTITHREADING
Exception Handling basics – Multiple catch Clauses – Nested try Statements – Java’s Built-in
Exceptions – User defined Exception. Multithreaded Programming: Java Thread Model–Creating a
Thread and Multiple Threads – Priorities – Synchronization – Inter Thread CommunicationSuspending –Resuming, and Stopping Threads –Multithreading. Wrappers – Auto boxing.


UNIT IV I/O, GENERICS, STRING HANDLING
I/O Basics – Reading and Writing Console I/O – Reading and Writing Files. Generics: Generic
Programming – Generic classes – Generic Methods – Bounded Types – Restrictions and
Limitations. Strings: Basic String class, methods and String Buffer Class.


UNIT V JAVAFX EVENT HANDLING, CONTROLS AND COMPONENTS
JAVAFX Events and Controls: Event Basics – Handling Key and Mouse Events. Controls:
Checkbox, ToggleButton – RadioButtons – ListView – ComboBox – ChoiceBox – Text Controls –
ScrollPane. Layouts – FlowPane – HBox and VBox – BorderPane – StackPane – GridPane. Menus
– Basics – Menu – Menu bars – MenuItem

Unit-1

  1. Features of the Object Oriented Programming Language.
  2. Constructors and type of Constructors.
  3. Control Statements
  4. Operators

Unit-2

  1. Types of Inheritance
  2. Packages and interface
  3. Overloading and Overriding

Unit-3

  1. Exception Handling
  2. Multithreading
  3. Synchronization.

Unit-4

  1. Input and Output Stream classes .
  2. Reading and Writing Console.
  3. FileInputStream and FileOutputStream.
  4. Generic clas/Generic methods

Unit-5

  1. Keyboard Events and Mouse Events (mouse listener ,mouse motion listener)
  2. Checkbox,Radio Button
  3. Listview combo / check box
  4. Layout (HBox,VBox)
  5. Stack pane, Grid pane

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!