
Lýsing:
A new edition of the bestselling guide to Java If you want to learn to speak the world’s most popular programming language like a native, Java For Dummies is your ideal companion. With a focus on reusing existing code, it quickly and easily shows you how to create basic Java objects, work with Java classes and methods, understand the value of variables, learn to control program flow with loops or decision-making statements, and so much more! Java is everywhere, runs on almost any computer, and is the engine that drives the coolest applications.
Written for anyone who’s ever wanted to tackle programming with Java but never knew quite where to begin, this bestselling guide is your ticket to success! Featuring updates on everything you’ll encounter in Java 9--and brimming with tons of step-by-step instruction--it’s the perfect resource to get you up and running with Java in a jiffy! Discover the latest features and tools in Java 9 Learn to combine several smaller programs to create a bigger program Create basic Java objects and reuse code Confidently handle exceptions and events If you’re ready to jump into Java, this bestselling guide will help keep your head above water!.
Annað
- Höfundur: Barry A. Burd
- Útgáfa:7
- Útgáfudagur: 2017-03-07
- Hægt að prenta út 10 bls.
- Hægt að afrita 2 bls.
- Format:ePub
- ISBN 13: 9781119235583
- Print ISBN: 9781119235552
- ISBN 10: 1119235588
Efnisyfirlit
- Cover
- Introduction
- How to Use This Book
- Conventions Used in This Book
- What You Don’t Have to Read
- Foolish Assumptions
- How This Book Is Organized
- Icons Used in This Book
- Beyond the Book
- Where to Go from Here
- Part 1: Getting Started with Java
- Chapter 1: All about Java
- What You Can Do with Java
- Why You Should Use Java
- Getting Perspective: Where Java Fits In
- Object-Oriented Programming (OOP)
- What’s Next?
- Chapter 2: All about Software
- Quick-Start Instructions
- What You Install on Your Computer
- Chapter 3: Using the Basic Building Blocks
- Speaking the Java Language
- Checking Out Java Code for the First Time
- Understanding a Simple Java Program
- And Now, a Few Comments
- Chapter 1: All about Java
- Chapter 4: Making the Most of Variables and Their Values
- Varying a Variable
- Experimenting with JShell
- What Happened to All the Cool Visual Effects?
- The Atoms: Java’s Primitive Types
- The Molecules and Compounds: Reference Types
- An Import Declaration
- Creating New Values by Applying Operators
- Chapter 5: Controlling Program Flow with Decision-Making Statements
- Making Decisions (Java if Statements)
- Using Blocks in JShell
- Forming Conditions with Comparisons and Logical Operators
- Building a Nest
- Choosing among Many Alternatives (Java switch Statements)
- Chapter 6: Controlling Program Flow with Loops
- Repeating Instructions Over and Over Again (Java while Statements)
- Repeating a Certain Number of Times (Java for Statements)
- Repeating until You Get What You Want (Java do Statements)
- Chapter 7: Thinking in Terms of Classes and Objects
- Defining a Class (What It Means to Be an Account)
- Defining a Method within a Class (Displaying an Account)
- Sending Values to and from Methods (Calculating Interest)
- Making Numbers Look Good
- Hiding Details with Accessor Methods
- Barry’s Own GUI Class
- Chapter 8: Saving Time and Money: Reusing Existing Code
- Defining a Class (What It Means to Be an Employee)
- Working with Disk Files (a Brief Detour)
- Defining Subclasses (What It Means to Be a Full-Time or Part-Time Employee)
- Using Subclasses
- Overriding Existing Methods (Changing the Payments for Some Employees)
- Chapter 9: Constructing New Objects
- Defining Constructors (What It Means to Be a Temperature)
- More Subclasses (Doing Something about the Weather)
- A Constructor That Does More
- Chapter 10: Putting Variables and Methods Where They Belong
- Defining a Class (What It Means to Be a Baseball Player)
- Making Static (Finding the Team Average)
- Experiments with Variables
- Passing Parameters
- Chapter 11: Using Arrays to Juggle Values
- Getting Your Ducks All in a Row
- Arrays of Objects
- Command Line Arguments
- Chapter 12: Using Collections and Streams (When Arrays Aren’t Good Enough)
- Understanding the Limitations of Arrays
- Collection Classes to the Rescue
- Functional Programming
- Chapter 13: Looking Good When Things Take Unexpected Turns
- Handling Exceptions
- Handle an Exception or Pass the Buck
- Finishing the Job with a finally Clause
- A try Statement with Resources
- Chapter 14: Sharing Names among the Parts of a Java Program
- Access Modifiers
- Classes, Access, and Multipart Programs
- Sneaking Away from the Original Code
- Protected Access
- Access Modifiers for Java Classes
- Chapter 15: Fancy Reference Types
- Java’s Types
- The Java Interface
- Abstract Classes
- Relax! You’re Not Seeing Double!
- Chapter 16: Responding to Keystrokes and Mouse Clicks
- Go On … Click That Button
- Responding to Things Other Than Button Clicks
- Creating Inner Classes
- Chapter 17: Using Java Database Connectivity
- Creating a Database and a Table
- Putting Data in the Table
- Retrieving Data
- Destroying Data
- Chapter 18: Ten Ways to Avoid Mistakes
- Putting Capital Letters Where They Belong
- Breaking Out of a switch Statement
- Comparing Values with a Double Equal Sign
- Adding Components to a GUI
- Adding Listeners to Handle Events
- Defining the Required Constructors
- Fixing Non-Static References
- Staying within Bounds in an Array
- Anticipating Null Pointers
- Helping Java Find Its Files
- Chapter 19: Ten Websites for Java
- This Book’s Website
- The Horse’s Mouth
- Finding News, Reviews, and Sample Code
- Got a Technical Question?
UM RAFBÆKUR Á HEIMKAUP.IS
Bókahillan þín er þitt svæði og þar eru bækurnar þínar geymdar. Þú kemst í bókahilluna þína hvar og hvenær sem er í tölvu eða snjalltæki. Einfalt og þægilegt!Rafbók til eignar
Rafbók til eignar þarf að hlaða niður á þau tæki sem þú vilt nota innan eins árs frá því bókin er keypt.
Þú kemst í bækurnar hvar sem er
Þú getur nálgast allar raf(skóla)bækurnar þínar á einu augabragði, hvar og hvenær sem er í bókahillunni þinni. Engin taska, enginn kyndill og ekkert vesen (hvað þá yfirvigt).
Auðvelt að fletta og leita
Þú getur flakkað milli síðna og kafla eins og þér hentar best og farið beint í ákveðna kafla úr efnisyfirlitinu. Í leitinni finnur þú orð, kafla eða síður í einum smelli.
Glósur og yfirstrikanir
Þú getur auðkennt textabrot með mismunandi litum og skrifað glósur að vild í rafbókina. Þú getur jafnvel séð glósur og yfirstrikanir hjá bekkjarsystkinum og kennara ef þeir leyfa það. Allt á einum stað.
Hvað viltu sjá? / Þú ræður hvernig síðan lítur út
Þú lagar síðuna að þínum þörfum. Stækkaðu eða minnkaðu myndir og texta með multi-level zoom til að sjá síðuna eins og þér hentar best í þínu námi.
Fleiri góðir kostir
- Þú getur prentað síður úr bókinni (innan þeirra marka sem útgefandinn setur)
- Möguleiki á tengingu við annað stafrænt og gagnvirkt efni, svo sem myndbönd eða spurningar úr efninu
- Auðvelt að afrita og líma efni/texta fyrir t.d. heimaverkefni eða ritgerðir
- Styður tækni sem hjálpar nemendum með sjón- eða heyrnarskerðingu
- Gerð : 208
- Höfundur : 11038
- Útgáfuár : 2017
- Leyfi : 380