My Account Log in

1 option

Object Oriented Programming Through Java : For JNTU.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Vasappanavara, Ramesh.
Contributor:
Vasappanavara, Anand.
Vasappanavara, Gautam.
Series:
Always learning.
Always learning
Language:
English
Subjects (All):
Object-oriented programming (Computer science).
Java (Computer program language).
Physical Description:
1 online resource (368 pages)
Edition:
0
Other Title:
Object Oriented Programming Through Java
Place of Publication:
Noida : Pearson India, 2011.
Summary:
Object Oriented Programming Through Java: For JNTU offers contemporary, comprehensive and in-depth coverage of all the concepts of object-oriented technologies, with an emphasis on problem-solving approaches as applied to C++ and Java Programming paradigms. Exhaustively covering the B.Tech, MCAs and other PG course syllabi of all Indian universities, it explains the underlying OOP theory with diagrams and implementation examples in C++ and Java, as well as advanced topics in C++ and Java such as templates, generic programming and collection framework of Java. Object-oriented features with UML and their seamless integration with OOP languages, C++ and Java are covered in detail, and a separate chapter is devoted to analysis and design. The book's self-learning and practice-oriented approach will be especially helpful to self-taught readers, and engineering professionals at work will also benefit greatly from its discussions of object-oriented analysis and design case studies, and its easy integration with a modeling tool such as UML.
Contents:
Cover
About the Authors
Brief Contents
Contents
Preface
How to Use this Book and Web Resources
Roadmap to the Syllabus
Chapter 1: Basics of Object-Oriented Programming
1.1 Introduction
1.2 Programming Concepts
1.3 Programming Paradigms
1.3.1 Structured Programming Paradigm
1.3.2 C: A Workhorse that Works Well
1.3.3 Need for Object-oriented Programming Paradigm
1.4 A Way of Looking at the World: Problem-solving Approach of OOP Paradigm
1.4.1 Agents
1.4.2 Community
1.5 Elements in Object-oriented Paradigm
1.5.1 Elements of OOP: Objects
1.5.2 Elements of OOP: Messages
1.5.3 Information Hiding
1.5.4 Elements of OOP: Recursive Design
1.5.5 Elements of OOP: Classes
1.5.6 Elements of OOP: Methods and Responsibilities
1.5.7 Elements of OOP: Encapsulation
1.5.8 Elements of OOP: Data Hiding/Data Abstraction
1.5.9 Elements of OOP: Methods Overloading
1.6 Elements of OOP: Extendibility and Reusability of OOP Paradigm
1.6.1 Extending/Deriving New Classes
1.6.2 Nested Class/Container Class/Inner Class
1.6.3 Inheritance Hierarchy
1.6.4 Types of Inheritances
1.6.5 Methods Overriding vs Methods Overloading
1.6.6 Element of OOP: Polymorphism
1.6.7 Methods Binding
1.7 Coping with Complexities
1.7.1 Run-time Polymorphism and Dynamic Data Binding
1.7.2 Class as Abstract Data Type (ADT)
1.7.3 Concrete Class
1.7.4 Interface
1.8 Errors and Exceptions
1.8.1 Errors
1.8.2 Exceptions
1.8.3 Try and Catch Blocks
1.8.4 Using Finally() Block
1.8.5 Throw Exceptions
1.8.6 Defining Our Own Exception
1.9 Generic Programming
1.10 OOP-Object-oriented Analysis and Design (OOAD)
1.10.1 OO Analysis and Design (OOAD)
1.11 Summary of OOP Concepts
1.12 Key Points
Exercise Questions
Objective Questions
Short-answer Questions.
Long-answer Questions
Solutions to Objective Questions
Chapter 2: Object-oriented Programming with java
2.1 Introduction
2.2 Internet and the World Wide Web
2.3 C and C++ are Around - Then Why Java?
2.4 Java Story
2.5 Java Features
2.5.1 Portability or Platform Independent
2.5.2 Automatic Garbage Collection
2.5.3 Object-oriented Features
2.5.4 Easy to Learn and Excellent Documentation
2.5.5 Byte Code
2.5.6 Java Virtual Machine (JVM)
2.5.7 Comparison with C++
2.6 Developing First Java Application
2.6.1 Installing and Using Java Development Kit
2.6.2 Setting Path and Classpath
2.6.3 Java Program Structure
2.6.4 Java Documentation Comments
2.6.5 Java Development Environment
2.6.6 Our First Java Application
2.6.7 Application with Swing Components
2.6.8 Eclipse-integrated Development Environment
2.6.9 Command Line Arguments
2.7 Key Points
Short-answer Questions
Long-answer Questions
Assignment Questions
Chapter 3: Java Basics and Control Loops
3.1 Introduction
3.2 Constants/Literal Constants
3.2.1 Integer Constants
3.2.2 Floating Point Constants/Real Constants
3.2.3 Character Constants
3.2.4 String Constants
3.2.5 Backlash Character Strings
3.2.6 Boolean Literals
3.2.7 Symbolic Constants
3.3 Variables and Assignment of Values to Variables
3.4 Data Types
3.4.1 Integer Data Types
3.4.2 Floating Point Data Types
3.4.3 Character Type
3.4.4 Boolean Data Type
3.5 Scope and Life Time of Variables
3.6 Arithmetic Operators
3.7 Type Conversion and Type Casting
3.7.1 Type Conversion
3.7.2 Type Cast
3.8 Unary Operators
3.8.1 Increment and Decrement Operators
3.8.2 Assignment Operator
3.8.3 Chained Assignment.
3.8.4 Relational Operators
3.9 Logical Operators
3.10 Bit-wise Operators
3.11 Other Operators
3.11.1 Question Mark (?) Operator Conditional Expressions
3.11.2 Member Operator or Dot Operator
3.11.3 Instanceof Operator
3.11.4 New Operator
3.11.5 Operator Precedence and Associativity
3.12 Conditional and Branching Statements
3.12.1 If and If-Else Statements
3.12.2 Nested If Statements
3.12.3 If-Else-If Ladder
3.12.4 Switch and Case Statements
3.13 Control Loops
3.13.1 While Loop
3.13.2 Do-while Loop
3.13.3 For Loop
3.14 Break
3.15 Continue Statement
3.16 Key Points
Chapter 4: Simple IO and Arrays and String Vectors
4.1 Introduction
4.2 Input from Keyboard
4.2.1 System.in, System.out and System.err Commands
4.2.2 StringTokenizer to Receive Multiple Inputs in a Single Line
4.2.3 Obtaining Inputs Using Java's Scanner Class
4.2.4 Using Control Formats - System.out.printf ()
4.2.5 Formatted Output with String Format
4.3 Arrays
4.3.1 Declaring and Creation of an Array
4.3.2 Initialization of Arrays
4.3.3 How Are Arrays Stored in the Memory?
4.3.4 Accessing and Modifying Array Elements
4.3.5 Passing Arrays as Arguments to Methods
4.3.6 Returning Arrays as Arguments to Methods
4.3.7 Multi-dimensional Arrays
4.3.8 Java. util. Arrays Class
4.4 String
4.4.1 Array of Strings
4.4.2 String Class Methods
4.4.3 StringBuffer Class
4.4.4 StringBuilder Class
4.5 Collection Framework
4.5.1 Vector Class
4.5.2 Vector Methods
4.6 Key Points
Assignment Questions.
Solutions to Objective Questions
Chapter 5: Class Objects and Methods
5.1 Introduction
5.2 Classes and Objects
5.3 Declaring a Class and Creating of Instances of Class Variables
5.4 Constructors
5.4.1 Default Constructor
5.4.2 Parameterized Constructor and Overloading of Constructors
5.5 Specifying Private Access Specifiers and Use of Public Methods
5.5.1 Private Access Specifiers
5.5.2 Methods
5.5.3 Math Class of Java
5.5.4 Call by Value and Call by Reference
5.5.5 Passing and Returning of Objects To and From Methods
5.5.6 Method Overloading
5.5.7 Recursion
5.6 Usage of this Keyword
5.7 Garbage Collection
5.8 Finalizer and Finalize () Methods
5.9 Final Variable
5.10 Access Control and Accessing Class Members
5.11 Static Members
5.12 Factory Methods
5.13 Nested Classes
5.14 Inner Classes
5.15 Key Points
Chapter 6: Inheritance: Packages: Interfaces
6.1 Introduction
6.2 Basic Concepts of Inheritance
6.2.1 Base Class/Super Class
6.2.2 Subclass or Derived Classes
6.2.3 Forms of Inheritance
6.3 Member Access Rules
6.4 Using Super Class: Uses of Super Class
6.5 Types of Inheritance
6.5.1 Single Inheritance
6.5.2 Multilevel Inheritance
6.5.3 Hierarchical Inheritance
6.5.4 Multiple Inheritance
6.6 Methods Overriding
6.7 Run-time Polymorphism
6.8 Abstract Classes
6.9 Using Final with Inheritance
6.9.1 Final Method
6.9.2 Final Classes
6.10 Object Class
6.11 Packages
6.11.1 Reusable Classes
6.12 Path and Classpath
6.13 Importing of Packages
6.14 Access Specifiers Revisited for Packages
6.15 Interfaces
6.15.1 What and Why of Interfaces.
6.15.2 Differences between Classes and Interfaces
6.15.3 Variables and Methods in Interfaces
6.15.4 Extending Interfaces
16.5.5 Subtype
6.16 Benefits of Inheritance: Costs of Inheritance
6.17 Key Points
Chapter 7: Errors and Exceptions in Java and Multithreaded Programming
7.1 Introduction
7.2 Errors and Exceptions
7.3 Termination or Presumptive/Resumption Models
7.4 Types of Exceptions
7.4.1 Run-time Exception: Synchronous Exceptions
7.4.2 Run-time Exception: Asynchronous Exceptions
7.4.3 Compile Time Exception: Checked Exceptions
7.4.4 Compile Time Exception: Unchecked Exceptions
7.4.5 Exception Hierarchy
7.4.6 Benefits of Exception Handling
7.5 Usage of Try and Catch Blocks: Exception Handling Mechanism
7.6 Handling of Multiple Exceptions by Try and Catch Blocks
7.7 Throw, Throws and Finally Keywords
7.7.1 Using Finally Block
7.7.2 Throw Exceptions
7.7.3 Throws Exceptions
7.7.4 Re-throwing of an Exception
7.7.5 Built-in Exceptions
7.8 Creating own exception subclasses
7.8.1 Procedure for Throwing Our Own Exceptions
7.9 Concepts of Multithreading
7.10 Process vs Threads
7.10.1 Process
7.10.2 Threads
7.11 Differences between Multithreading and Multitasking
7.12 Life Cycle of Thread
7.13 How to Create and Run the Threads?
7.13.1 Which is Better-Extends Thread or Implements Runnable?
7.13.2 Use of isAlive () and join () methods
7.14 Thread Priorities
7.15 Synchronization
7.16 Inter-thread Communications
7.17 Daemon Threads
7.18 Deadlock in Multithreaded Programming
7.19 Thread Groups
7.20 Key Points
Long-answer Questions.
Notes:
Description based on publisher supplied metadata and other sources.
Includes index.
ISBN:
81-317-9896-8
OCLC:
1024256801

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account