Cargando…

Introduction to programming : learn to program in Java with data structures, algorithms, and logic /

Have you ever thought about learning how to make your computer do what you want it to do? Do you want to learn to program but just don't know where to start? Have all other learning resources got you confused with over explanations, rather than walking you in the right direction? Don't wor...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Samoylov, Nick (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt, 2018.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Contributors; Packt Upsell; Table of Contents; Preface; Chapter 1: Java Virtual Machine (JVM) on Your Computer; What is Java?; Basic terms; History and popularity; Principles; Java platforms, editions, versions, and technologies; Platforms and editions; Versions; Technologies; Java SE Development Kit (JDK) installation and configuration; Where to start; The page with Java installers; How to install; Main Java commands; The JVM execution command; The compilation command; Command jcmd and other commands; Exercise
  • JDK tools and utilities.
  • AnswerSummary; Chapter 2: Java Language Basics; The basic terms of Java programming; Byte code; Defects (bugs) and their severity and priority; Java program dependencies; Statements; Methods; Classes; The Main class and the main method; Classes and objects (instances); Java classes; Java object (class instance); Class (static) and object (instance) members; Private and public; Static members; Object (instance) members; Method overloading; Interface, implementation, and inheritance; Interface; Implementation; Inheritance; The java.lang. Object class; The equals() method; The hashCode() method.
  • The getClass() methodThe toString() method; The clone() method; The wait() and notify() methods; OOP concepts; Object/class; Encapsulation; Inheritance; Interface (abstraction); Polymorphism; Exercise
  • Interface versus abstract class; Answer; Summary; Chapter 3: Your Development Environment Setup; What is the development environment?; Java editor is your main tool; Source code compilation; Code sharing; Code and test execution; Setting the classpath; Manual setting; Searching on the classpath; IDE sets the classpath automatically; There are many IDEs out there; NetBeans; Eclipse.
  • IntelliJ IDEAInstalling and configuring IntelliJ IDEA; Downloading and installing; Configuring IntelliJ IDEA; Exercise
  • Installing NetBeans IDE; Answer; Summary; Chapter 4: Your First Java Project; What is a project?; Definition and origin of project; Project-related terms; A project's life cycle; Creating a project; Creating a project using a project wizard; Maven project configuration; Changing IDE settings at any time; Writing an application code; Java package declaration; Creating a package; Creating the MyApplication class; Building the application; Hiding some files and directories.
  • Creating the SimpleMath classCreating methods; Executing and unit testing an application; Executing the application using the IDE; Creating a unit test; Executing the unit test; How many unit tests are enough?; Exercise
  • JUnit @Before and @After annotations; Answer; Summary; Chapter 5: Java Language Elements and Types; What are the Java language elements?; Input elements; Types; Comments; Identifiers and variables; Identifier; Variable; Variable declaration, definition, and initialization; Final variable (constant); Reserved and restricted keywords; Reserved keywords; Restricted keywords.