Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Kennedy, Seán, author.

Title Learn Java with projects : a concise practical guide to learning everything a Java professional really needs to know / Dr. Seán Kennedy, Maaike van Putten. [O'Reilly electronic resource]

Edition [First edition].
Publication Info. [Place of publication not identified] : Packt Publishing, 2023.
QR Code
Description 1 online resource (602 pages) : illustrations
Note Includes index.
Summary Learn Java with Projects stands out in the world of Java guides; while some books skim the surface and others get lost in too much detail, this one finds a nice middle ground. You'll begin by exploring the fundamentals of Java, from its primitive data types through to loops and arrays. Next, you'll move on to object-oriented programming (OOP), where you'll get to grips with key topics such as classes, objects, encapsulation, inheritance, polymorphism, interfaces, and more. The chapters are designed in a way that focuses on topics that really matter in real-life work situations. No extra fluff here, so that you get more time to spend on the basics and form a solid foundation. As you make progress, you'll learn advanced topics including generics, collections, lambda expressions, streams and concurrency. This book doesn't just talk about theory-it shows you how things work with little projects, which eventually add up to one big project that brings it all together. By the end of this Java book, you'll have sound practical knowledge of Java and a helpful guide to walk you through the important parts of Java.
Contents Cover -- Title Page -- Copyright and Credits -- Contributors -- Table of Contents -- Preface -- Part 1: Java Fundamentals -- Chapter 1: Getting Started with Java -- Technical requirements -- Exploring Java features -- OOP in Java -- Working with OOP -- Compiled language -- Write once, run anywhere -- Automatic memory management -- Installing Java -- Checking whether Java is installed on your system -- Installing Java on Windows -- Installing Java on macOS -- Installing Java on Linux -- Running Java online -- Writing our first program -- Hello world -- Steps to create the program
Understanding the program -- Compiling and running Java programs -- Understanding the compilation process -- Compiling the code with javac on the command line -- Running the compiled code with Java on the command line -- Working with an IDE -- What is an IDE? -- Choosing an IDE -- Creating and running a program with an IDE -- Creating a program in an IDE -- Running your program -- Debugging a program -- Exercises -- Project -- Summary -- Chapter 2: Variables and Primitive Data Types -- Technical requirements -- Understanding and declaring variables -- What is a variable? -- Declaring a variable
Naming a variable -- Accessing a variable -- Accessing a variable that you have not declared -- Understanding Java's primitive data types -- Java's primitive data types -- Screen output -- Exercises -- Project -- dinosaur profile generator -- Summary -- Chapter 3: Operators and Casting -- Technical requirements -- Learning how Java's operators cooperate -- Order of precedence -- Associativity -- Understanding Java's operators -- Unary operators -- Arithmetic operators -- Relational operators -- Logical operators -- Bitwise operators -- Ternary operator -- Compound assignment operators
Explaining Java casting -- Widening -- Narrowing -- Exercises -- Project -- Dino meal planner -- Summary -- Chapter 4: Conditional Statements -- Technical requirements -- Understanding scope -- What is a block? -- Exploring if statements -- The if statement itself -- else if statements -- else statements -- Mastering switch statements and expressions -- switch statements -- switch expressions -- Exercises -- Project -- Task allocation system -- Summary -- Chapter 5: Understanding Iteration -- Technical requirements -- while loops -- do-while loops -- while versus do-while -- for loops
Traditional for loop -- Enhanced for loop -- Nested loops -- break and continue statements -- break statements -- continue statements -- Exercises -- Project -- Dino meal planner -- Summary -- Chapter 6: Working with Arrays -- Technical requirements -- Arrays -- what, when, and why? -- Arrays explained -- When to use arrays -- Declaring and initializing arrays -- Declaring arrays -- Initializing arrays -- Short syntax for array initialization -- Accessing elements in an array -- Understanding indexing -- Accessing array elements -- Modifying array elements -- Working with length and bounds
Subject Java (Computer program language)
Java (Langage de programmation)
Added Author Putten, Maaike van, author.
Patron reviews: add a review
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information