Object-Oriented Programming in Java 17
Kishori Sharan, Adam L. Davis
Java17#
Object-Oriented#
Programming#
JShell#
REPL#
Learn the fundamentals of the Java 17 LTS or Java Standard Edition version 17 Long Term Support release, including basic programming concepts and the object-oriented fundamentals necessary at all levels of Java development. Authors Kishori Sharan and Adam L. Davis walk you through writing your first Java program step-by-step. Armed with that practical experience, you'll be ready to learn the core of the Java language. Beginning Java 17 Fundamentals provides over 90 diagrams and 240 complete programs to help you learn the topics faster.
While this book teaches you the basics, it also has been revised to include the latest from Java 17 including the following: value types (records), immutable objects with an efficient memory layout; local variable type inference (var); pattern matching, a mechanism for testing and deconstructing values; sealed types, a mechanism for declaring all possible subclasses of a class; multiline text values; and switch expressions.
The book continues with a series of foundation topics, including using data types, working with operators, and writing statements in Java. These basics lead onto the heart of the Java language: object-oriented programming. By learning topics such as classes, objects, interfaces, and inheritance you'll have a good understanding of Java's object-oriented model. The final collection of topics takes what you've learned and turns you into a real Java programmer.
You'll see how to take the power of object-oriented programming and write programs that can handle errors and exceptions, process strings and dates, format data, and work with arrays to manipulate data.
What You Will Learn
Who This Book Is For
Those who are new to Java programming, who may have some or even no prior programming experience.
Table of Contents
Chapter 1: Programming Concepts
Chapter 2: Setting Up the Environment
Chapter 3: Writing Java Programs
Chapter 4: Data Types
Chapter 5: Operators
Chapter 6: Statements
Chapter 7: Classes
Chapter 8: Methods
Chapter 9: Constructors
Chapter 10: Modules
Chapter 11: Object and Objects Classes
Chapter 12: Wrapper Classes
Chapter 13: Exception Handling
Chapter 14: Assertions
Chapter 15: Strings
Chapter 16: Dates and Times
Chapter 17: Formatting Data
Chapter 18: Regular Expressions
Chapter 19: Arrays
Chapter 20: Inheritance
Chapter 21: Interfaces
Chapter 22: Enum Types
Chapter 23: Java Shell
Appendix A: Character Encodings
Appendix B: Documentation Comments
Kishori Sharan has earned a Master of Science in Computer Information Systems degree from Troy State University, Alabama. He is a Sun Certified Java 2 programmer. He has vast experience in providing training to professional developers in Java, JSP, EJB, and Web technology. He possesses over ten years of experience in implementing enterprise level Java application.
Adam L. Davis makes software. He’s spent many years developing in Java (since Java 1.2) and has enjoyed using Spring and Hibernate for more than a decade. Since 2006 he’s been using Groovy, Grails, HTML, CSS, and JavaScript, in addition to Java, to create SaaS web applications that help track finances for large institutions (among other things). Adam has a master’s and a bachelor’s degree in Computer Science from Georgia Tech. He is also the author of Reactive Streams in Java (Apress, 2019), Learning Groovy 3, Second Edition (Apress, 2019) and Modern Programming Made Easy, Second Edition (Apress, 2020).
مجموعه اسکایبوک با تکیه بر تیمی مجرب و متخصص و بهرهگیری از بهروزترین تجهیزات چاپ و صحافی، خدماتی با کیفیت تضمینی در زمینه چاپ کتاب و محصولات آموزشی ارائه میدهد. استفاده از بهترین مواد اولیه و رعایت دقیقترین استانداردها، ما را به انتخابی مطمئن برای دانشگاهها، مدارس، موسسات آموزشی و فرهنگی، کتاب... بیشتر بخوانید