Movatterモバイル変換


[0]ホーム

URL:


Packt
Search iconClose icon
Search icon CANCEL
Subscription
0
Cart icon
Your Cart(0 item)
Close icon
You have no products in your basket yet
Save more on your purchases!discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Profile icon
Account
Close icon

Change country

Modal Close icon
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timerSALE ENDS IN
0Days
:
00Hours
:
00Minutes
:
00Seconds
Home> Programming> Application Development> Java for Developers Pocket Primer
Java for Developers Pocket Primer
Java for Developers Pocket Primer

Java for Developers Pocket Primer: A Concise Guide to Mastering Java Programming

Arrow left icon
Profile Icon Mercury Learning and InformationProfile Icon Oswald Campesato
Arrow right icon
$41.99
eBookAug 2024247 pages1st Edition
eBook
$41.99
Arrow left icon
Profile Icon Mercury Learning and InformationProfile Icon Oswald Campesato
Arrow right icon
$41.99
eBookAug 2024247 pages1st Edition
eBook
$41.99
eBook
$41.99

What do you get with eBook?

Product feature iconInstant access to your Digital eBook purchase
Product feature icon Download this book inEPUB andPDF formats
Product feature iconDRM FREE - Read whenever, wherever and however you want
OR

Contact Details

Modal Close icon
Payment Processing...
tickCompleted

Billing Address

Table of content iconView table of contents

Key benefits

  • Comprehensive guide to Java programming
  • Practical examples and exercises
  • Covers basic to advanced topics

Description

As part of the best-selling Pocket Primer series, this book offers a thorough introduction to Java development for beginners. It provides a fast-paced overview of core Java concepts and APIs, using Java 8 code samples. Companion files with source code are included.The journey begins with an introduction to Java, covering Boolean logic, Unicode, and user input. It progresses through methods, constructors, loops, arrays, and recursion. The course then delves into object-oriented programming (OOP) concepts and data structures. Advanced topics include streams, file handling, and integrating Java with SQL. The book also lists new features from Java 9 to Java 13.Understanding these concepts is crucial for developing efficient Java applications. This book transitions readers from basic to advanced Java programming, blending theoretical knowledge with practical skills. Companion files enhance the learning experience, making this book an essential resource for mastering Java development.

Who is this book for?

This book is ideal for beginners in Java programming as well as experienced developers who need a refresher. Readers should have basic programming knowledge and familiarity with fundamental concepts. No prior Java experience is required.

What you will learn

  • Understand Java fundamentals and syntax
  • Implement OOP principles
  • Work with data structures
  • Manage Java streams and file I/O
  • Utilize Java and SQL for databases
  • Debug and handle exceptions effectively

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date :Aug 09, 2024
Original Publication date :Nov 30, 2022
Length:247 pages
Edition :1st
Language :English
ISBN-13 :9781836646723
Category :

What do you get with eBook?

Product feature iconInstant access to your Digital eBook purchase
Product feature icon Download this book inEPUB andPDF formats
Product feature iconDRM FREE - Read whenever, wherever and however you want
OR

Contact Details

Modal Close icon
Payment Processing...
tickCompleted

Billing Address

Product Details

Publication date :Aug 09, 2024
Original Publication date :Nov 30, 2022
Length:247 pages
Edition :1st
Language :English
ISBN-13 :9781836646723
Category :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99billed monthly
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconSimple pricing, no contract
$199.99billed annually
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconChoose a DRM-free eBook or Video every month to keep
Feature tick iconPLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick iconExclusive print discounts
$279.99billed in 18 months
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconChoose a DRM-free eBook or Video every month to keep
Feature tick iconPLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick iconExclusive print discounts

Frequently bought together


Learn Java 17 Programming
Learn Java 17 Programming
Read more
Jul 2022748 pages
Full star icon3.3 (12)
eBook
eBook
$31.99$35.99
$44.99
Understanding Software
Understanding Software
Read more
Sep 2017278 pages
Full star icon3.8 (11)
eBook
eBook
$22.99$25.99
$32.99
Stars icon
Total$77.98
Learn Java 17 Programming
$44.99
Understanding Software
$32.99
Total$77.98Stars icon

Table of Contents

9 Chapters
Chapter 1: Introduction to JavaChevron down iconChevron up icon
Chapter 1: Introduction to Java
A Very Brief Introduction to Java
Selecting a Version of Java (detailed version)
Java IDEs
Java Data Types, Operators, and their Precedence
Creating and Compiling Java Classes
A “Hello World” Example
Working with Numbers
Working with Random Numbers
Working with Built-in Math Functions
Working with Built-in Trigonometric Functions
Working with Bitwise Operators
The Java String Class
The Java new Operator
Equality of Strings
Searching for a Substring in Java
Useful String Methods in Java
Overriding the Java toString() Method (Optional)
Autoboxing and Unboxing (Optional)
Summary
Chapter 2: Boolean Logic, Unicode, User InputChevron down iconChevron up icon
Chapter 2: Boolean Logic, Unicode, User Input
Conditional Logic in Java
Working with Boolean Expressions
Working with Dates
Working with Unicode, i18n, and i10n
Working with Base64
Working with Exceptions in Java
Getting User Input and Handling Exceptions
Parsing User Input and Handling Exceptions
Nested Exceptions
A try/catch/finally Example
Summary
Chapter 3: Methods and ConstructorsChevron down iconChevron up icon
Chapter 3: Methods and Constructors
What is a Java Class?
The Scope of Java Variables
What are Accessors and Mutators?
A Java Class Without Accessors
Refactoring Code with Accessor Methods
Defining a Constructor and an Accessor
Accessors, Mutators, and the this Keyword
Arrays of Classes
Static Methods
Static Code Blocks
A Second “Hello World” Example
A Third “Hello World” Example
A Fourth “Hello World” Example
A Fifth “Hello World” Example
Java Anonymous Inner Classes
Java Named Inner Classes
Anonymous Classes Versus Named Inner Classes
Private Constructors (Why?)
The Java import Statement
The Java package Statement
An Example of the package Statement (1)
An Example of the package Statement (2)
Creating Java JAR Files for Java Class Files
Summary
Chapter 4: Loops, Arrays, and RecursionChevron down iconChevron up icon
Chapter 4: Loops, Arrays, and Recursion
Working with for Loops
Determining Leap Years
Java for Loops with Integers
Checking for Palindromes
Nested Loops
Goldbach’s Conjecture
Variations of a Basic for Loop
Working with while Loops
Finding the Divisors of a Number
Working with do-while Loops
Working with a Java switch Statement
Java Arrays
Working with Arrays of Numbers
The Bubble Sort Algorithm
Java Multi-Dimensional Arrays
Java Multi-Dimensional Arrays (2)
Working with Characters and Strings
Working with Arrays of Strings
Displaying Command Line Arguments
Randomly Accessing Arrays of Strings
The StringBuilder and StringBuffer Classes
What is Recursion?
Calculating Factorial Values
Calculating the GCD of Two Numbers
Counting Digits in Integers
Adding Digits in Integers
Reverse a String via Recursion
Summary
Chapter 5: Introduction to OOPChevron down iconChevron up icon
Chapter 5: Introduction to OOP
Java Constructors
Public, Protected, and Private Keywords
Identity and Equality are Different Concepts
A Quick Introduction to Inheritance
Working with Value Objects in Java
An Example of a Value Object in Java
What is a Java Interface?
A Java Class That Implements an Interface
Java Abstract Methods and Classes
What is OOP?
Inheritance
Encapsulation
Polymorphism
Summary
Chapter 6: Data StructuresChevron down iconChevron up icon
Chapter 6: Data Structures
Java Legacy Data Structures
Iterators
The Collection Interfaces
The Collection Classes
Overview of Java Collections
Convenience Implementations
The ArrayList Class
The HashMap Class
The HashSet Class
The LinkedList Class
The Queue Class
The TreeSet Class
The Collections Class
Linked Lists of Objects
Generic Methods
Generic Classes
Counting Distinct Characters
Java 8 Enhancements for Collections
Summary
Chapter 7: Streams and FilesChevron down iconChevron up icon
Chapter 7: Streams and Files
Working with Streams in Java
The Abstract Class InputStream
The FileInputStream Class
The FilterInputStream Class
The BufferedInputStream Class
The DataInputStream Class
Reading User Input from the Console
Reading Character-Oriented User Input
Reading a Text File
Reading a CSV File
Writing Data to a Text File
Counting Words and Characters in a File
Search for a String in a File
The BufferedWriter Class
Working with Directories
Serialization
Deserialization
Reflection
Annotations
Summary
Chapter 8: Java and SQLChevron down iconChevron up icon
Chapter 8: Java and SQL
What is SQL?
Working with MySQL
Creating and Dropping Tables
Working with Simple SELECT Statements
DELETE, TRUNCATE, and DROP in SQL
What is a SQL Index?
Connecting to MySQL in Java
Drop and Recreate a MySQL Table
Insert Data into a MySQL Table
Select Data from a MySQL Table
Next Steps
Summary
IndexChevron down iconChevron up icon
Index

Recommendations for you

Left arrow icon
Debunking C++ Myths
Debunking C++ Myths
Read more
Dec 2024226 pages
Full star icon5 (1)
eBook
eBook
$27.99$31.99
$39.99
Go Recipes for Developers
Go Recipes for Developers
Read more
Dec 2024350 pages
eBook
eBook
$27.99$31.99
$39.99
50 Algorithms Every Programmer Should Know
50 Algorithms Every Programmer Should Know
Read more
Sep 2023538 pages
Full star icon4.5 (68)
eBook
eBook
$35.98$39.99
$49.99
$49.99
Asynchronous Programming with C++
Asynchronous Programming with C++
Read more
Nov 2024424 pages
Full star icon5 (1)
eBook
eBook
$29.99$33.99
$41.99
Modern CMake for C++
Modern CMake for C++
Read more
May 2024504 pages
Full star icon4.7 (12)
eBook
eBook
$35.98$39.99
$49.99
Learn Python Programming
Learn Python Programming
Read more
Nov 2024616 pages
Full star icon5 (1)
eBook
eBook
$31.99$35.99
$39.99
Learn to Code with Rust
Learn to Code with Rust
Read more
Nov 202457hrs 40mins
Video
Video
$74.99
Modern Python Cookbook
Modern Python Cookbook
Read more
Jul 2024818 pages
Full star icon4.9 (21)
eBook
eBook
$38.99$43.99
$54.99
Right arrow icon

About the authors

Left arrow icon
Profile icon Mercury Learning and Information
Mercury Learning and Information
LinkedIn icon
MERCURY LEARNING and INFORMATION publishes content in the areas of science and medicine, technology and computing, engineering, and mathematics designed for the professional/reference, trade, library, higher education, career school, and online training markets.
Read more
See other products by Mercury Learning and Information
Profile icon Oswald Campesato
Oswald Campesato
Oswald Campesato specializes in Deep Learning, Python, Data Science, and generative AI. He is the author/co-author of over forty books including Google Gemini for Python, Data Cleaning, and GPT-4 for Developers (all Mercury Learning).
Read more
See other products by Oswald Campesato
Right arrow icon
Getfree access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook?Chevron down iconChevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?Chevron down iconChevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?Chevron down iconChevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support?Chevron down iconChevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks?Chevron down iconChevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook?Chevron down iconChevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.


[8]ページ先頭

©2009-2025 Movatter.jp