Cadenhead presents a step-by-step tutorial that teaches someone with no previous programming experience how to create simple Java programs and applets. It starts out at a lower level than "Sams Teach Yourself Java in 21 Days, " and takes things at a slower pace, focusing on key programming concepts and essential Java basics.
In just 21 days, you can acquire the knowledge and skills necessary to develop applications on your computer, web servers, and mobile devices. With this complete tutorial you’ll quickly master the basics and then move on to more advanced features and concepts. Completely updated for Java 11 and 12, this book teaches you about the Java language and how to use it to create applications for any computing environment. By the time you have finished the book, you’ll have well-rounded knowledge of Java and the Java class libraries. No previous programming experience required. By following the 21 carefully organized lessons in this book, anyone can learn the basics of Java programming. Learn at your own pace. You can work through each chapter sequentially to make sure you thoroughly understand all the concepts and methodologies, or you can focus on specific lessons to learn the techniques that interest you most. Test your knowledge. Each chapter ends with a Workshop section filled with questions, answers, and exercises for further study. There are even certification practice questions. Completely revised, updated, and expanded to cover the latest features of Java 11 and 12 Learn to develop Java applications using NetBeans–an excellent programming platform Easy-to-understand, practical examples clearly illustrate the fundamentals of Java programming Discover how to quickly develop programs with a graphical user interface Find out about JDBC programming with the Derby database Learn how to use Inner Classes and Lambda Expressions Learn rapid application development with Apache NetBeans Create a game using Java
Instructs the user in object-oriented programming, allowing the creation of interactive Web sites, cross-platform applications, and Java applets; includes a CD-ROM with examples for each lesson
"Sams Teach Yourself Beginning Programming in 24 Hours, Second Edition" explains the basics of programming in the successful 24-Hours format. The book begins with the absolute basics of programming: Why program? What tools to use? How does a program tell the computer what to do? It teaches readers how to program the computer and then moves on by exploring the some most popular programming languages in use. The author starts by introducing the reader to the Basic language and finishes with basic programming techniques for Java, C++, and others.
Computer programming with Java is easier than it looks. In just 24 lessons of one hour or less, you can learn to write computer programs in Java. Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, an Android app, and even Minecraft mods in Java. Each lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success. Full-color figures and clear step-by-step instructions visually show you how to program with Java. Quizzes and Exercises at the end of each chapter help you test your knowledge. Notes, Tips, and Cautions provide related information, advice, and warnings. Learn how to... • Set up your Java programming environment • Write your first working program in just minutes • Control program decisions and behavior • Store and work with information • Build straightforward user interfaces • Create interactive web programs • Use threading to build more responsive programs • Read and write files and XML data • Master best practices for object-oriented programming • Use Java 9’s new HTTP client • Use Java to create an Android app • Expand your skills with closures • Create Minecraft mods with Java Contents at a Glance Part I Getting Started 1 Becoming a Programmer 2 Writing Your First Program 3 Vacationing in Java 4 Understanding How Java Programs Work Part II Learning the Basics of Programming 5 Storing and Changing Information in a Program 6 Using Strings to Communicate 7 Using Conditional Tests to Make Decisions 8 Repeating an Action with Loops Part III Working with Information in New Ways 9 Storing Information with Arrays 10 Creating Your First Object 11 Describing What Your Object is Like 12 Making the Most of Existing Objects Part IV Moving into Advanced Topics 13 Storing Objects in Data Structures 14 Handling Errors in a Program 15 Creating a Threaded Program 16 Using Inner Classes and Closures Part V Programming a Graphical User Interface 17 Building a Simple User Interface in Swing 18 Laying Out a User Interface 19 Responding to User Input Part VI Writing Internet Applications 20 Reading and Writing Files 21 Using Java 9's New HTTP Client 22 Creating Java2D Graphics 23 Creating Minecraft Mods with Java 24 Writing Android Apps Appendixes A Using the NetBeans Integrated Development Environment B Where to Go from Here Java Resources C This Book's Web Site D Fixing a Problem with the Android Studio Emulator
Sams Teach Yourself Apache in 24 Hours covers the installation, configuration, and ongoing administration of the Apache Web server, the most popular Internet Web server. It covers both the 1.3 and the new 2.0 versions of Apache. Using a hands-on, task-oriented format, it concentrates on the most popular features and common quirks of the server. The first part of the book helps the reader build, configure, and get started with Apache. After completing these chapters the reader will be able to start, stop, and monitor the Web server. He also will be able to serve both static content and dynamic content, customize the logs, and restrict access to certain parts of the Web server. The second part of the book explains in detail the architecture of Apache and how to extend the server via third-party modules like PHP and Tomcat. It covers server performance and scalability, content management, and how to set up a secure server with SSL.
A guide to the Web programming technology covers implementation in C and Perl, customizing existing programs, and writing CGI scripts for survey forms, interactive games, order forms, search tools, and guest books.
In just 24 sessions of one hour or less, Sams Teach Yourself Android Game Programming in 24 Hours will help you master mobile game development for Android 4. Using a straightforward, step-by-step approach, you’ll gain hands-on expertise with the entire process: from getting access to the hardware via the Android SDK to finishing a complete example game. You’ll learn to use the Android SDK and open source software to design and build fast, highly playable games for the newest Android smartphones and tablets. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common Android game programming tasks. Quizzes and exercises at the end of each chapter help you test your knowledge. By the Way notes present interesting information related to the discussion. Did You Know? tips offer advice or show you easier ways to perform tasks. Watch Out! cautions alert you to possible problems and give you advice on how to avoid them. Jonathan Harbour is a writer and instructor whose love for computers and video games dates back to the Commodore PET and Atari 2600 era. He has a Master’s in Information Systems Management. His portfolio site at http://www.jharbour.com includes a discussion forum. He also authored Sams Teach Yourself Windows Phone 7 Game Programming in 24 Hours. His love of science fiction led to the remake of a beloved classic video game with some friends, resulting in Starflight—The Lost Colony (http://www.starflightgame.com). Learn how to... Install and configure the free development tools, including the Android 4 SDK, Java Development Kit, and Eclipse (or NetBeans) Use the Android graphics system to bring your game characters to life Load and manage bitmaps, and use double buffering for better performance Incorporate timing and animation with threaded game loops Tap into the touch screen for user input Learn to use Android sensors such as the accelerometer, gyroscope, compass, light detector, and thermometer Integrate audio into your games using the media player Build your own game engine library to simplify gameplay code in your projects Animate games with sprites using atlas images and fast matrix transforms Employ object-oriented programming techniques using inheritance and data hiding Create an advanced animation system to add interesting behaviors to game objects Detect collisions and simulate realistic movement with trigonometry Experiment with an evolving engine coding technique that more naturally reflects how games are written