CHF20.00
Download est disponible immédiatement
Learn to speak the Java language like the pros
Are you new to programming and have decided that Java is your language of choice? Are you a wanna-be programmer looking to learn the hottest lingo around? Look no further! Beginning Programming with Java For Dummies, 5th Edition is the easy-to-follow guide you'll want to keep in your back pocket as you work your way toward Java mastery! In plain English, it quickly and easily shows you what goes into creating a program, how to put the pieces together, ways to deal with standard programming challenges, and so much more.
Whether you're just tooling around or embarking on a career, this is the ideal resource you'll turn to again and again as you perfect your understanding of the nuances of this popular programming language. Packed with tons of step-by-step instruction, this is the only guide you need to start programming with Java like a pro.
Updated for Java 9, learn the language with samples and the Java toolkit
Familiarize yourself with decisions, conditions, statements, and information overload
Differentiate between loops and arrays, objects and classes, methods, and variables
Find links to additional resources
Once you discover the joys of Java programming, you might just find you're hooked. Sound like fun? Here's the place to start.
Auteur
Barry Burd, PhD, has been a professor in the Department of Mathematics and Computer Science at Drew University since 1980. He has lectured at conferences in the United States, Europe, Australia, and Asia, and hosts podcasts on various software and technology topics. Dr. Burd also authored Java Programming for Android Developers For Dummies.
Résumé
Learn to speak the Java language like the pros Are you new to programming and have decided that Java is your language of choice? Are you a wanna-be programmer looking to learn the hottest lingo around? Look no further! Beginning Programming with Java For Dummies, 5th Edition is the easy-to-follow guide you'll want to keep in your back pocket as you work your way toward Java mastery! In plain English, it quickly and easily shows you what goes into creating a program, how to put the pieces together, ways to deal with standard programming challenges, and so much more. Whether you're just tooling around or embarking on a career, this is the ideal resource you'll turn to again and again as you perfect your understanding of the nuances of this popular programming language. Packed with tons of step-by-step instruction, this is the only guide you need to start programming with Java like a pro.
Contenu
Introduction 1
About This Book 1
How to Use This Book 2
Conventions Used in This Book 2
What You Don't Have to Read 3
Foolish Assumptions 4
How This Book Is Organized 4
Part 1: Getting Started with Java Programming 5
Part 2: Writing Your Own Java Programs 5
Part 3: Controlling the Flow 5
Part 4: Using Program Units 5
Part 5: The Part of Tens 6
Icons Used in This Book 6
Beyond the Book 7
Where to Go from Here 7
Part 1: Getting Started with Java Programming 9
Chapter 1: Getting Started 11
What's It All About? 11
Telling a computer what to do 12
Pick your poison 13
From Your Mind to the Computer's Processor 14
Translating your code 14
Running code 15
Code you can use 20
Your Java Programming Toolset 21
A tool for creating code 22
What's already on your hard drive? 22
Chapter 2: Setting Up Your Computer 23
If You Don't Like Reading Instructions 24
Getting This Book's Sample Programs 26
Setting Up Java 27
Downloading and installing Java 29
If you want to find Java on your computer 34
Setting Up the Eclipse Integrated Development Environment 40
Downloading Eclipse 41
Installing Eclipse 43
Running Eclipse for the first time 44
Importing This Book's Sample Programs 50
What's Next? 53
Chapter 3: Running Programs 55
Running a Canned Java Program 55
Typing and Running Your Own Code 60
Separating your programs from mine 61
Writing and running your program 62
What's All That Stuff in Eclipse's Window? 71
Understanding the big picture 71
Views, editors, and other stuff 72
What's inside a view or an editor? 74
Returning to the big picture 76
Part 2: Writing Your Own Java Programs 79
Chapter 4: Exploring the Parts of a Program 81
Checking Out Java Code for the First Time 81
Behold! A program! 82
What the program's lines say 83
The Elements in a Java Program 84
Keywords 85
Identifiers that you or I can define 87
Identifiers with agreed-upon meanings 88
Literals 89
Punctuation 90
Comments 91
Understanding a Simple Java Program 93
What is a method? 93
The main method in a program 96
How you finally tell the computer to do something 97
The Java class 99
Chapter 5: Composing a Program 103
Computers Are Stupid 104
A Program to Echo Keyboard Input 105
Typing and running a program 106
How the EchoLine program works 109
Getting numbers, words, and other things 110
Type three lines of code and don't look back 112
Expecting the Unexpected 114
Diagnosing a problem 115
What problem? I don't see a problem 125
Chapter 6: Using the Building Blocks: Variables, Values, and Types 129
Using Variables 130
Using a variable 131
Understanding assignment statements 132
To wrap or not to wrap? 132
What Do All Those Zeros and Ones Mean? 134
Types and declarations 135
What's the point? 136
Reading Decimal Numbers from the Keyboard 137
Though these be methods, yet there is madness in 't 138
Methods and assignments 138
Variations on a Theme 140
Moving variables from place to place 140
Combining variable declarations 142 Experime...