• Complain

Graham Mitchell - Learn Object-Oriented Java the Hard Way

Here you can read online Graham Mitchell - Learn Object-Oriented Java the Hard Way full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2016, publisher: leanpub.com, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Learn Object-Oriented Java the Hard Way
  • Author:
  • Publisher:
    leanpub.com
  • Genre:
  • Year:
    2016
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Learn Object-Oriented Java the Hard Way: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learn Object-Oriented Java the Hard Way" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Graham Mitchell: author's other books


Who wrote Learn Object-Oriented Java the Hard Way? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learn Object-Oriented Java the Hard Way — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learn Object-Oriented Java the Hard Way" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Learn Object-Oriented Java the Hard Way Graham Mitchell This book is for sale - photo 1
Learn Object-Oriented Java the Hard Way
Graham Mitchell

This book is for sale at http://leanpub.com/javahard2

This version was published on 2016-08-14

This is a Leanpub book Leanpub empowers authors and publishers with - photo 2

* * * * *

This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.

* * * * *

2015 - 2016 Graham Mitchell
Acknowledgements

To God, who gives me the ability to create.

To Deanna, who believed I could finish this even when I wasnt sure.

To the hundreds of people who purchased my first book; this second bookwouldnt exist without you!

And to Jesus, who teaches me grace and humility every day. May I depend on Himmore and more each day.

Preface: Learning by Doing

I have been teaching beginners how to code for the better part of two decades.More than 2,000 students have taken my classes and left knowing how to writesimple programs that work. Some learned how to do only a little and othersgained incredible skill over the course of just a few years.

I have plenty of students who are exceptional but most of my students areregular kids with no experience and no particular aptitude for programming.This book is written for regular people like them.

Most programming books and tutorials online are written by people with greatnatural ability and very little experience with real beginners. Their booksoften cover far too much material far too quickly and overestimate whattrue beginners can understand.

If you have a lot of experience or extremely high aptitude, you can learn tocode from almost any source. I sometimes read comments like I taught my9-year-old daughter to code, and she made her first Android app six weekslater! If you are the child prodigy, this book is not written for you.

I have also come to believe that there is no substitute for writing lots ofsmall programs. So thats what you will do in this book. You will type in smallprograms and run them.

The best way to learn is to do. P.R. Halmos

Introduction: Object-Oriented Java

Java is an object-oriented programming language. My first book covered all thebasic syntax of the Java language, but avoided all the object-oriented parts.This book covers the rest.

If you have never programmed before in any language, this book is probablynot for you. You need some experience in a similar language before you will beable to make it through this book. If you already know the basics of Java oranother language like C, C++, C# or Javascript, you will be okay. If you onlyknow a very different language like Python or Ruby then youll have a littlecatching up to do.

If you get lost trying to follow the code in exercise 1, then you shouldprobably go back and work through a simpler book before trying this one.

What You Will Learn
  • How to install the Java compiler and a text editor
  • How to work with Java objects and create your own classes
  • Fields and instance variables
  • Methods and Parameters
  • Constructors
  • Reference Variables vs Primitives
  • Generics and Casting
  • Inheritance
  • Interfaces
  • Abstract Classes and Methods
  • Packages
  • How to create JAR files
  • Graphical User Interfaces in JavaFX
  • Mouse and Keyboard Input in GUIs
  • Testing and Efficiency
  • Algorithmic Complexity and Big-O Notation
  • ArrayLists
  • Sorting

and more!

In the final chapter youll write a graphical version of a popularchecker-dropping game and be able to package that up to send to others.

All the examples in this book will work in version 1.8 of Java or any newerversion. If you omit the last few chapters on JavaFX, most of the code willwork in Java version 1.6 or later.

What You Will Not Learn
  • How to compile and run Java programs in a terminal
  • The basics of Java
  • How to make an Android app
  • Specifics of different versions of Java
  • Javascript
Create, compile & runIf you have written some Java before but you have always used an IDE, youshould learn how to write your code in a simple text editor and how tocompile your code from a terminal. My first book has anentire chapter on it whichis free to read online, so work through that first if you need to.No basicsIf you dont already know how to create variables and write if statements,loops and functions in Java, then you should learn that before tryingto work through this book.No AndroidAndroid apps are pretty complex, and if youre a beginner, an appis way beyond your ability. Nothing in this book will hurt your chancesof making an app, though, and the kinder, gentler pace may keep you goingwhen other books would frustrate you into quitting.No specific versionI will not cover anything about the differences between Java SE 7 and JavaSE 8, for example. If you care about the difference, then this book is notfor you.

Except for the last few graphics chapters, I will also not cover anythingthat was only recently added to Java. This book is for learning the basicsof object-oriented programming and nothing has changed about the basics ofJava in many years.

No JavascriptJavascript is the name of a programming language and Java isalso the name of a programming language. These two languages have nothingto do with each other. They are completely unrelated.

I hope to write more books after this one. My third book will cover making asimple Android app, assuming you have finished working through the first twobooks.

How to Use This Book

Although I have provided a zipfile containing the source code for all theexercises in the book, you should type them in.

For each exercise, type in the code. Yourself, by hand. How are you going tolearn otherwise? None of my former students ever became great at programming bymerely reading others code.

Work the Study Drills. Then watch the Study Drill videos (if you have them) tocompare your solutions to mine. And by the end you will be able to code, atleast a little.

License

Some chapters of this book are made available free to read online but you arenot allowed to make copies for others without permission.

The materials provided for download may not be copied, scanned, or duplicated,or posted to a publicly accessible website, in whole or in part.

Educators who purchase this book and/or tutorial videos are given permission toutilize the curriculum solely for self-study or for one-to-one, face-to-facetutoring of a single student. Large-group teaching of this curriculum requiresa site license.

Unless otherwise stated, all content is copyright 2015-2016 Graham Mitchell.

Exercise 0: The Setup

This exercise has no code but do not skip it. It will help you toget a decent text editor installed and to install the Java DevelopmentKit (JDK). If you do not do both of these things, you will not be ableto do any of the other exercises in the book. You should follow theseinstructions as exactly as possible.

This exercise requires you to do things in a terminal window (alsocalled a shell, console or command prompt. If you have noexperience with a terminal, then you might need to go learnthat first.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learn Object-Oriented Java the Hard Way»

Look at similar books to Learn Object-Oriented Java the Hard Way. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learn Object-Oriented Java the Hard Way»

Discussion, reviews of the book Learn Object-Oriented Java the Hard Way and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.