Gain the fundamental concepts of object-oriented programming with examples in Java. This second edition comes with detailed coverage and enhanced discussion on fundamental topics such as inheritance, polymorphism, abstract classes, interfaces, and packages. This edition also includes discussions on multithread programming, generic programming, database programming, and exception handling mechanisms in Java. Finally, you will get a quick overview of design patterns including the full implementation of some important patterns.
Interactive Object-Oriented Programming in Java begins with the fundamental concepts of object-oriented programming alongside Q&A sessions to further explore the topic. The book concludes with FAQs from all chapters. It also contains a section to test your skills in the language basics with examples to understand Java fundamentals including loops, arrays, and strings. You’ll use the Eclipse IDE to demonstrate the code examples in the book.
After reading the book, you will have enhanced your skills in object-oriented programming in Java and you will be able to extend them in interesting ways.
You will:
Discover object-oriented programming with Java
Test your programming skills
Crack Java-based interviews with confidence
Use the Eclipse IDE to write code and generate output
About the Author
Vaskaran Sarcar obtained his master of engineering degree from Jadavpur University, Kolkata, India. He was a national Gate Scholar and has more than 12 years of experience in education and the IT industry. He worked as senior software engineer, specialist, and team lead in the R&D hub at HP Inc. India till August, 2019. He is an alumnus of prestigious institutions in India, such as
Jadavpur University, Vidyasagar University, and Presidency University (formerly Presidency College). Reading and learning new things are his passions. Other books by Vaskaran include the following:
Java Design Patterns (Second Edition) (Apress, 2018)
Design Patterns in C# (Apress, 2018)
Interactive C# (Apress, 2017)
Interactive Object-Oriented Programming in Java (Apress, 2016)
Java Design Patterns (First Edition) (Apress, 2016)
C# Basics: Test Your Skill (CreateSpace, 2015)
Operating System: Computer Science Interview Series (CreateSpace, 2014)
Author(s): Vaskaran Sarcar
Edition: 2
Publisher: Apress
Year: 2020
Language: English
Pages: 604
Tags: java
Front Matter ....Pages i-xxxv
Front Matter ....Pages 1-1
Object-Oriented Programming Concepts (Vaskaran Sarcar)....Pages 3-9
The Building Blocks: Class and Objects (Vaskaran Sarcar)....Pages 11-35
Classes and Objects in Depth (Vaskaran Sarcar)....Pages 37-63
The Concept of Inheritance (Vaskaran Sarcar)....Pages 65-90
Get Familiar with Polymorphism (Vaskaran Sarcar)....Pages 91-140
Abstract Classes and Interfaces: The True Art in OOP (Vaskaran Sarcar)....Pages 141-181
Packages (Vaskaran Sarcar)....Pages 183-200
Understanding Class Variables and Class Methods (Vaskaran Sarcar)....Pages 201-223
Quick Recap of OOP Principles (Vaskaran Sarcar)....Pages 225-235
Front Matter ....Pages 237-237
Managing Exceptions (Vaskaran Sarcar)....Pages 239-280
Thread Programming (Vaskaran Sarcar)....Pages 281-327
Generic Programming (Vaskaran Sarcar)....Pages 329-379
Database Programming (Vaskaran Sarcar)....Pages 381-422
Important Features in Java’s Enhancement Path (Vaskaran Sarcar)....Pages 423-439
Front Matter ....Pages 441-441
Introduction to Design Patterns (Vaskaran Sarcar)....Pages 443-492
Frequently Asked Questions (Vaskaran Sarcar)....Pages 493-499
Back Matter ....Pages 501-588