Book Description
Java is the world’s most popular programming language, but it’s known for having a steep learning curve. Learn Java the Easy Way takes the chore out of learning Java with hands-on projects that will get you building real, functioning apps right away.
You’ll start by familiarizing yourself with JShell, Java’s interactive command line shell that allows programmers to run single lines of code and get immediate feedback. Then, you’ll create a guessing game, a secret message encoder, and a multitouch bubble-drawing app for both desktop and mobile devices using Eclipse, an industry-standard IDE, and Android Studio, the development environment for making Android apps.
As you build these apps, you’ll learn how to
- Perform calculations, manipulate text strings, and generate random colors
- Use conditions, loops, and methods to make your programs responsive and concise
- Create functions to reuse code and save time
- Build graphical user interface (GUI) elements, including buttons, menus, pop-ups, and sliders
- Take advantage of Eclipse and Android Studio features to debug your code and find, fix, and prevent common mistakes
If you’ve been thinking about learning Java, Learn Java the Easy Way will bring you up to speed in no time.
Table of Contents
Chapter 1: Getting Started
Chapter 2: Build a Hi-Lo Guessing Game App!
Chapter 3: Creating a GUI for Our Guessing Game
Chapter 4: Creating Your First Android App
Chapter 5: Polishing Your App by Adding Menus and Preferences
Chapter 6: Deciphering Secret Messages
Chapter 7: Creating Advanced GUIs and Sharing Your App
Chapter 8: Make Secret Messages a Phone App to Share with Friends!
Chapter 9: Paint Colorful Bubbles with Your Mouse!
Chapter 10: Adding Animation and Collision Detection with Timers
Chapter 11: Making BubbleDraw a Multitouch Android App
Appendix: Debugging and Avoiding Common Errors in Java
中文:
书名:Learn Java the Easy Way: A Hands-On Introduction to Programming
Java是世界上最流行的编程语言,但它以学习曲线陡峭而闻名。轻松学习Java它通过动手项目消除了学习Java的繁琐工作,这些项目将让您立即构建真正的、功能正常的应用程序。
您将从熟悉JShell开始,JShell是Java的交互式命令行外壳,允许程序员运行单行代码并立即获得反馈。然后,您将使用行业标准的IDE Eclipse和Android Studio(用于开发Android应用程序的开发环境)为桌面和移动设备创建一个猜谜游戏、一个秘密消息编码器和一个多点触摸泡泡绘制应用程序。
在构建这些应用程序时,您将学习如何
- 执行计算、操作文本字符串并生成随机颜色
- 使用条件、循环和方法使您的程序响应迅速、简洁
- 创建函数以重复使用代码并节省时间
- 构建图形用户界面(GUI)元素,包括按钮、菜单、弹出窗口和滑块
- 利用Eclipse和Android Studio功能来调试您的代码,并查找、修复和防止常见错误
如果您一直在考虑学习Java,请注意。轻松学习Java它很快就会带你熟悉最新情况。
目录表
第1章:入门
第二章:构建一款Hi-Lo猜谜游戏App!
第3章:为猜谜游戏创建图形用户界面
第4章:创建您的第一个Android应用程序
第5章:通过添加菜单和首选项来完善您的应用程序
第6章:解密秘密消息
第7章:创建高级图形用户界面和共享应用程序
第8章:让秘密信息成为一款手机应用程序,与朋友分享!
第九章:用你的鼠标画五颜六色的气泡!
第10章:使用计时器添加动画和碰撞检测
Chapter 11: Making BubbleDraw a Multitouch Android App
附录:调试和避免Java中的常见错误
评论前必须登录!
注册