2 options
Java programming / K. Rajkumar.
- Format:
- Book
- Author/Creator:
- Rajkumar, K.
- Series:
- Always learning.
- Always learning
- Language:
- English
- Subjects (All):
- Java (Computer program language)--Problems, exercises, etc.
- Java (Computer program language).
- Computer software--Development.
- Computer software.
- Physical Description:
- 1 online resource (1 v.) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- New Delhi, India : Pearson, 2013.
- System Details:
- text file
- Summary:
- JAVA Programming introduces the subject in a simple and lucid style. This book explains programming concepts and software development practices for solving problems in a clear and precise manner. Every chapter of the book is supported with a wide variety of solved examples and end-of-chapter exercises to help students master this subject.
- Contents:
- Cover
- Brief Contents
- Contents
- Pedagogical Features
- Preface
- Part I - Java Basics
- Chapter 1: Java Data Types,Operators and Console I/O Statements
- 1.1 Introduction
- 1.2 Java, World Wide Web and Sensor Devices
- 1.3 Java Editing Environments
- 1.4 Data types and Variables
- 1.5 Constants in Java
- 1.6 Java Operators
- 1.7 Type Casting and Boxing
- 1.8 Console I/O Statements
- 1.8.1 Command Line
- 1.8.2 Scanner
- 1.8.3 BufferedReader
- 1.8.4 DataInputStream
- 1.8.5 Console
- 1.9 Summary
- Key Terms
- Review Questions
- Exercises
- Chapter 2: Java Conditional and Looping Statements
- 2.1 Introduction
- 2.2 Conditional Statements
- 2.2.1 if Statement
- 2.2.2 Problem: Finding Biggest of Three Integers
- 2.2.3 if-else Statement
- 2.2.4 if-else-if Statement
- 2.2.5 Nested if Statement
- 2.2.6 Problem: Checking Leap Year
- 2.2.7 Multipoint Switch Statement
- 2.2.8 String Cases for Switch
- 2.3 Java Loping Statements
- 2.3.1 while Loop
- 2.3.2 do-while Loop
- 2.3.3 for Loop
- 2.3.4 Problem: Generating Multiplication Table
- 2.3.5 break, continue and assert Statements
- 2.4 Summary
- Chapter 3: Arrays in Java
- 3.1 Introduction
- 3.2 Declaring and Initializing Arrays
- 3.3 Accessing Array Elements
- 3.4 Problem: Sequential Search for a Key
- 3.5 Problem: Binary Search for a Key
- 3.6 The For-Each Statement
- 3.7 Problem: Finding Euclidean Distance Between Two Vectors
- 3.8 Problem: Reverse an Array Without Copying
- 3.9 Multidimensional Arrays
- 3.10 Problem: Transpose of a Matrix
- 3.11 Summary
- Chapter 4: Methods in Java
- 4.1 Introduction
- 4.2 Defining a Method
- 4.3 Calling a Method
- 4.4 Problem: Nested Method Calls
- 4.5 Problem: Calculate Area of Geometric Objects.
- 4.6 Problem: Generate Prime Numbers
- 4.7 Recursion: Power and Pitfalls
- 4.8 Method Overloading
- 4.9 Passing One-Dimensional Arrays to Methods
- 4.10 Problem: Method to Sort Names
- 4.11 Passing Two-Dimensional Arrays to Methods
- 4.12 Variable Length Argument Lists
- 4.13 Summary
- Part II - Object Oriented Java Programming
- Chapter 5: Classes and Objects
- 5.1 Introduction
- 5.2 Object-Oriented Programming Paradigm
- 5.3 Creating a Class
- 5.4 Problem: Designing Object-Oriented College Application
- 5.5 Creating Data Members
- 5.6 Creating Member Functions
- 5.7 Static Data and Methods
- 5.8 Array of Objects
- 5.9 Objects as Arguments to Methods
- 5.10 Summary
- Chapter 6: Inheritance and Polymorphism
- 6.1 Introduction
- 6.2 Constructors
- 6.3 Default Constructor
- 6.4 Parameterized Constructor
- 6.5 Constructor Overloading
- 6.6 Essential Java.lang Classes
- 6.6.1 Math
- 6.6.2 Character
- 6.6.3 String
- 6.6.4 StringBuffer
- 6.6.5 StringBuilder
- 6.7 Inheritance
- 6.8 Calling Base Class Constructor
- 6.9 Calling Base Class Data Member with Super
- 6.10 Overriding and Polymorphism
- 6.11 Aggregation Versus Inheritance
- 6.12 Object and Object Cloning
- 6.13 Checking Object's Class Type
- 6.14 Preventing Inheritance and Overriding
- 6.15 Visibility of Members of a Class
- 6.16 Inner Classes
- 6.17 Summary
- Chapter 7: More on Objects and Exceptions
- 7.1 Introduction
- 7.2 Abstract Classes
- 7.2.1 Defining Abstract Classes
- 7.2.2 Defining Abstract Methods
- 7.3 Interfaces
- 7.3.1 Declaring Interfaces
- 7.3.2 Implementing Interfaces
- 7.3.3 Problem: Flyable Interface
- 7.4 Java Enums
- 7.4.1 Basics of Enum
- 7.4.2 Advanced Features of Enum
- 7.5 Packages.
- 7.5.1 Creating a Package
- 7.5.2 Importing Packages
- 7.5.3 Including Classes to Package
- 7.5.4 Subpackages
- 7.5.5 Protected Members Revisited
- 7.6 Exception Handling
- 7.6.1 Try-catch-finally Statements
- 7.6.2 Multicatch Statement
- 7.6.3 Exception Hierarchy
- 7.6.4 User-defined Exceptions with throw and throws
- 7.6.5 Extending RuntimeException Class
- 7.7 Summary
- Part III - Java Containers for Holding Objects
- Chapter 8: Sequence Containers
- 8.1 Introduction
- 8.2 Collection Taxonomy
- 8.3 Vectors
- 8.3.1 Enumeration
- 8.3.2 Type-specific vectors
- 8.4 StringTokenizer
- 8.5 Stack
- 8.5.1 Character Stack
- 8.5.2 Problem: Brackets Matching
- 8.6 Iterators
- 8.7 PriorityQueue
- 8.8 ArrayList
- 8.8.1 Type-Safe ArrayLists
- 8.8.2 Problem: Shopping Cart
- 8.8.3 Problem: Search an Element Inside Array
- 8.8.4 Problem: Merge Two Arrays
- 8.8.5 Problem: Remove All Duplicates in an Array
- 8.9 LinkedList
- 8.9.1 Problem: Designing Stack Using LinkedList
- 8.9.2 Type-safe LLStack Using Generics
- 8.10 Summary
- Chapter 9: Map Containers
- 9.1 Introduction
- 9.2 Hashtable
- 9.3 Problem: Word Counting in a Text
- 9.4 Problem: Couples-Sensitive Brackets Checker
- 9.5 HashMap
- 9.6 Multimaps
- 9.7 Nested HashMaps
- 9.8 LinkedHashMap
- 9.9 TreeMap
- 9.10 Problem: Random Number Generator
- 9.11 Properties
- 9.12 Summary
- Chapter 10: Set Containers
- 10.1 Introduction
- 10.2 Set Interface
- 10.3 HashSet
- 10.4 Problem: Counting Duplicates in a Text
- 10.5 LinkedHashSet
- 10.6 TreeSet
- 10.7 Summary
- Chapter 11: Sorting and Searching
- 11.1 Introduction
- 11.2 Sorting and Searching Using Arrays Class.
- 11.3 Filling and Copying Arrays
- 11.4 Comparing Arrays
- 11.5 Sorting Primitive Arrays
- 11.6 Sorting String Objects
- 11.7 Array Sorting Using Comparable
- 11.8 Array Sorting Using Comparator
- 11.9 Searching Sorted Arrays
- 11.10 Sorting and Searching Using Collections Class
- 11.11 Sorting Lists Using Comparable
- 11.12 Sorting Lists Using Comparator
- 11.13 Summary
- Part IV - Java Threads and IO Streams
- Chapter 12: Concurrency Using Threads
- 12.1 Introduction
- 12.2 Multithreading Using Thread Class
- 12.3 Making Threads to Sleep
- 12.4 Yielding Control to Other Threads
- 12.5 Problem: Multithreaded Adder
- 12.6 Suspending Caller Thread
- 12.7 Daemon Threads
- 12.8 Thread Priority
- 12.9 Multithreading Using Runnable
- 12.10 Thread Synchronization for Resource Sharing
- 12.11 Synchronized Methods
- 12.12 Synchronized Block
- 12.13 Cordination Among Threads
- 12.14 Problem: Car Dealer Application
- 12.15 Threads Life
- 12.16 Concurrent Programming Packages
- 12.17 The Concurrent Package
- 12.18 The Concurrent.Atomic Package
- 12.19 Problem: Random Strings Generator
- 12.20 The Concurrent.locks Package
- 12.21 Summary
- Chapter 13: Processing Byte and Object Streams
- 13.1 Introduction
- 13.2 The File Class
- 13.3 Filtering File Names
- 13.4 Filtering Absolute File Paths
- 13.5 Types of Input Streams
- 13.5.1 Reading Files as Bytes
- 13.5.2 Reading Files into Byte Array
- 13.5.3 Reading Strings as Bytes
- 13.6 Types of Output Streams
- 13.6.1 Writing to Files as Bytes
- 13.6.2 Writing to Byte Array as Bytes
- 13.7 Problem: Copy Files as Bytes
- 13.8 Processing Primitive Data Types
- 13.9 Problem: Generating Students Mark List
- 13.10 Serializing Objects.
- 13.11 Problem: Generating Students' MarkList - Revisited
- 13.12 Transient Variables
- 13.13 Summary
- Chapter 14: Processing Character Streams and NIO
- 14.1 Introduction
- 14.2 Types of Readers
- 14.2.1 Reading Files as Characters
- 14.2.2 Problem: Word Counting Using FileReader
- 14.2.3 Reading Files as Lines
- 14.2.4 Problem: Text Index Generator
- 14.3 Types of Writers
- 14.3.1 Writing Characters to File
- 14.3.2 Problem: Copy Files Using FileWriter
- 14.3.3 Writing Lines to Files
- 14.4 Writing to and Reading from Pipes
- 14.5 Formatted Printing
- 14.6 Random Access File
- 14.7 Converting Bytes to Characters
- 14.8 File Processing Using NIO
- 14.9 Reading Data from Buffer
- 14.10 Writing Data to Buffer
- 14.11 Copying Files
- 14.12 Locking Files
- 14.13 Summary
- Part V - Java GUI Programming
- Chapter 15: Graphics Programming
- 15.1 Introduction
- 15.2 Swing Components and Containers: Overview
- 15.3 Frames and Panels
- 15.4 Drawing Shapes Using Graphics Context
- 15.5 Drawing Strings and Lines
- 15.6 Problem: Multiline Generation
- 15.7 Drawing Rectangles
- 15.8 Problem: Random Rectangle Generator
- 15.9 Drawing Circles and Ellipses
- 15.10 Drawing Arcs
- 15.11 Drawing Polygons and Polylines
- 15.12 Displaying Images
- 15.13 Problem: Threaded Blinking Balls
- 15.14 Painting Using JApplet
- 15.15 Java 2D Graphics
- 15.16 Drawing Lines and Curves
- 15.17 Drawing Rectangle, Ellipses and Arcs
- 15.18 Filling with Color, GradientPaint and TexturePaint
- 15.19 Drawing Arbitrary Shapes
- 15.20 Cordinate Transformations
- 15.21 2D Clipping
- 15.22 Affine Transformations on Images
- 15.23 Summary
- Chapter 16: GUI Development Using JFrame
- 16.1 Introduction.
- 16.2 Creating Labels and Buttons.
- Notes:
- Includes index.
- Description based on online resource; title from title page (Safari, viewed August 20, 2014).
- ISBN:
- 9781299955011
- 1299955010
- 9789332517868
- 933251786X
- 9789332524514
- 9332524513
- OCLC:
- 889760853
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.