Transitioning to Java Kickstart Your Polyglot Programming Journey by Getting a Clear Understanding of Java /
Develop your Java coding skills by exploring object-oriented methodologies, functional programming, software design patterns, and more Purchase of the print or Kindle book includes a free PDF eBook Key Features Get started with programming in Java with this step-by-step guide for experienced program...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited,
2023.
|
Edición: | 1st edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Contributors
- About the reviewers
- Table of Contents
- Preface
- Part 1: The Java Development Environment
- Chapter 1: Understanding Java Distributions
- Technical requirements
- A little history
- What makes Java special?
- Why are there many distributions of Java?
- Which Java should you get?
- How is Java licensed?
- Why are there so many versions of Java?
- Installing Java
- As an admin
- As a non-admin
- What is in the box?
- Compiling and executing a Java program
- Assembling and packaging a Java application
- Documenting Java classes
- REPL
- Summary
- Further reading
- Chapter 2: Code, Compile, and Execute
- Technical requirements
- The first program
- JShell
- REPL in Java
- The two-step compile and execute process
- javac and java/javaw
- Launch Single-File Source-Code Programs
- For Windows, macOS, and Linux
- For macOS and Linux
- Shebang files
- Integrated development environments
- Eclipse Foundation
- Eclipse
- Apache NetBeans
- Microsoft Visual Studio Code
- JetBrains IntelliJ IDEA
- Which IDE should you use?
- Summary
- Further reading
- Chapter 3: The Maven Build Tool
- Technical requirements
- Installing Maven
- Windows
- Linux
- macOS
- Overview of Maven functionality
- Dependency management
- Maven plugins
- Maven project layout
- Java source code packages
- The pom.xml configuration file
- jar
- Java archive
- War
- web archive
- ear
- enterprise archive
- pom
- POM
- The build section
- Running Maven
- Command-line Maven
- Running Maven in an IDE
- Summary
- Further reading
- Part 2: Language Fundamentals
- Chapter 4: Language Fundamentals
- Data Types and Variables
- Technical requirements
- Primitive data types
- Type safety
- Literal values
- Integers
- Floating point
- Boolean
- char
- A special case
- String
- Naming identifiers
- Constants
- Operators
- Casting
- Overflow and underflow
- Wrapper classes
- The math library
- Summary
- Further reading
- Chapter 5: Language Fundamentals
- Classes
- Technical requirements
- Class fields
- Understanding access control
- Packages
- The public specifier
- The private specifier
- The protected specifier
- The package specifier
- Understanding classes
- constructor and finalize methods
- Revising the compound interest program
- Class organization based on functionality
- Summary
- Further reading
- Chapter 6: Methods, Interfaces, Records, and Their Relationships
- Technical requirements
- Understanding methods
- Access control designation
- Static or non-static designation and the this reference
- Override permission
- final
- Override required
- abstract
- Return type
- Method name
- Parameter variables
- Annotations
- Exception handling
- throws
- Thread setting
- Generic parameters
- Understanding inheritance
- The superclass of all objects, the Object class
- Understanding the class interface