Java Programming 24-Hour Trainer

Quick and painless Java programming with expert multimedia instruction Java Programming 24-Hour Trainer, 2nd Edition is your complete beginner's guide to the Java programming language, with easy-to-follow lessons and supplemental exercises that help you get up and running quickly. Step-by-step...

Descripción completa

Detalles Bibliográficos
Autor principal: Fain, Yakov (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Hoboken : Wiley 2015.
Edición:2nd ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009849092906719
Tabla de Contenidos:
  • Book Title; About the Author; Acknowledgments; Contents; Introduction; Chapter 1. Introducing Java; Why Learn Java?; Setting the Goals; The Life Cycle of a Java Program; JDK and JRE; Downloading and Installing Java SE; Installing JDK 8 for MAC OS; Installing JDK 8 in Windows; Your First Java Program: Hello World; Compiling and Running Hello World; Try It; Lesson Requirements; Step-by-Step; Chapter 2. Eclipse IDE; Introducing Eclipse IDE; Downloading and Installing Eclipse; Creating Hello Project in Eclipse; Creating the HelloWorld Class in Eclipse; Java Packages; Completing Code Generation
  • Additional MaterialsTry It; Lesson Requirements; Step-by-Step; Chapter 3. Object-Oriented Programming with Java; Classes and Objects; Variables and Data Types; Declaring Variables; Final Variables; Primitive Data Types; Variable Scope; Wrappers, Autoboxing, and Unboxing; Program Comments; First Useful Program; Conditional Statement if; switch Statement; Inheritance; Method Overriding; Additional Materials; Try It; Lesson Requirements; Hints; Step-by-Step; Chapter 4. Class Methods and Constructors; Method Arguments; Method Overloading; Constructors; The Keyword super; The Keyword this
  • Static Methods in InterfacesCasting; Try It; Lesson Requirements; Step-by-Step; Chapter 7. Programming with Abstract Classes and Interfaces; Abstract Classes; Assignment; Solution with an Abstract Class; Polymorphism; Making the Interface Solution Polymorphic; Interfaces Versus Abstract Classes; Try It; Lesson Requirements; Step-by-Step; Chapter 8. Introducing the GUI with Swing; Swing Basics; Layout Managers; A Simple Calculator with FlowLayout; A Brief Introduction to Layout Managers; FlowLayout; GridLayout; BorderLayout; Combining Layout Managers; BoxLayout; GridBagLayout; CardLayout
  • Containers with Absolute LayoutMore About Swing Widgets; Swing GUI Builders; Try It; Lesson Requirements; Step-by-Step; Chapter 9. Event Handling in Swing GUI; Introduction to Event Listeners; Teaching the Calculator to Calculate; Registering Components with ActionListener; Finding the Source of an Event; How to Pass Data Between Objects; Design Pattern Model-View-Controller; More Swing Listeners; How to use Adapters; Inner Classes; Anonymous Inner Classes; Chapter 10. Error Handling; Stack Trace; Java Exceptions; Exception Hierarchy; Try/Catch Blocks; Using the throws Clause
  • Using the finally Clause