Learn To Program with Java and over one million other books are available for Amazon Kindle. Learn more

Kindle Edition
 
   
Sell Back Your Copy
For a $0.93 Gift Card
Trade in
Have one to sell? Sell yours here
Learn to Program with Java
 
 
Start reading Learn To Program with Java on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Learn to Program with Java [Paperback]

John Smiley (Author)
4.5 out of 5 stars  See all reviews (60 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition $9.99  
Paperback --  

Book Description

Learn to Program January 2, 2002
This guide teaches readers how to program by using a classroom setting and dialogue between students and the teacher to explain important programming and Java concepts.


Editorial Reviews

Amazon.com Review

Whether you are brand new to programming in general or coming to Java from another language, John Smiley's Learn to Program with Java offers a truly approachable tutorial designed with the beginner in mind. Covering Java syntax and essential programming concepts, this text can be used at home to simulate a semester's worth of Java study.

Like Smiley's previous titles, the salient feature of this text is the author's scenario-based presentation style. Instead of addressing the reader directly, Smiley simulates the experience of about 18 first-semester programming students facing Java for the first time. As the students develop a grade calculation project in Java (and improve it with object-oriented features later on), basic questions are raised and answered with the reader "overhearing" the author's consistently clear and patient explanation of key programming concepts.

While this approach is certainly not for those in a hurry, it can do the trick for the programming newbie. With an extensive Q&A for each step, Smiley covers most every conceivable obstacle and confusion. (The questions presented here are drawn from his extensive real-world teaching experience.)

After covering the basics of today's iterative software development cycle (a reminder to plan before you write any code), the book implements a grade-averaging program used for several departments at a hypothetical college. Smiley rehearses the discussions of the potential users of this application, as well as the students who then build it. The simple program is a good one as it allows the author to introduce basic Java syntax, as well as fundamental programming concepts (like variables and loops), without getting too bogged down in complexity.

Once the basic program has been built, Smiley introduces using objects to solve the same problem. His guide to basic object-oriented design, as well as how to code basic objects in Java, is once again clear and sensible. If the "big picture" behind using objects has eluded you, the practical presentation offered here may well help things click. By the end of the book, the final version of the program gets enhanced with support for arrays, plus a basic graphical user interface built with simple Swing components.

Most introductory programming texts try to cover everything at once, a temptation that's especially great with the rich (and complex) Java platform. The streamlined set of lessons here help make this title a good choice for Java newbies who want a patient and really approachable beginner's tutorial. --Richard Dragan

Topics covered: Introductory Java-based programming tutorial, the basics of the software design process, the System Development Life Cycle (SDLC): from analysis and design to development, implementation and maintenance; a first Java program, variables and constants, basic data types and operators, flow control and loops, custom methods, using objects (constructors, class variables and finalizers) access specifiers and instance variables, getters and setters, inheritance fundamentals, using arrays, error handling with exceptions, basic user interface design with Swing controls, event handling with listeners, adapters and events; and a case study for a grade-calculation program.

From the Back Cover

The easiest technical book you'll ever read. Open it up and see for yourself!

Join Professor Smiley's Java class as he teaches essential skills in programming, coding, and more. Using a student-instructor conversational format, this book starts at the very beginning with crucial programming fundamentals. You'll quickly learn how to identify customer needs so that you can create an application that achieves programming objectives--just like experienced programmers. By identifying clear client goals, you'll learn important programming basics--like how computers view input and execute output based on the information they are given--then use those skills to develop real-world applications. Participate in this one-of-a-kind classroom experience and see why Professor Smiley is renowned for making learning fun and easy.

  • Learn programming fundamentals like Selection structures, loops, and arrays
  • Cover object-oriented programming techniques like inheritance, method overloading, and interfaces
  • Use swing to develop a graphical user interface and event-driven programs
  • Build object-oriented Java programs from scratch
  • Develop a real-world project
  • Get a solid foundation of Java knowledge with chapter-by-chapter reinforcement of information and more than 200 example programs

About the Author:

John Smiley, MCP, MCSD, MCT, is president of Smiley and Associates, a computer consulting firm. He is also the author of eight books, and a computer science professor at Penn State University in Abington, Holy Family College, and Philadelphia University.


Product Details

  • Paperback: 700 pages
  • Publisher: Osborne/McGraw-Hill; 1st edition (January 2, 2002)
  • Language: English
  • ISBN-10: 0072131896
  • ISBN-13: 978-0072131895
  • Product Dimensions: 10.8 x 7.1 x 1.4 inches
  • Shipping Weight: 2.7 pounds
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (60 customer reviews)
  • Amazon Best Sellers Rank: #447,662 in Books (See Top 100 in Books)

More About the Author

I live just outside of Philadelphia, Pa. I am the president of my own Computer consulting firm, Smiley and Associates, and I provide computer services to companies both large and small in the surrounding Philadelphia Metropolitan area.'Currently, I am working on a long term contract programming position doing mostly Visual Basic work, but also some JavaScript and Oracle Database work.

Over the years, my consulting contracts have included contract positions as a Systems Analyst, Mainframe IDMS Database Administrator, Oracle Database Administrator, Network LAN Administrator, UNIX Systems Administrator, and programming positions using these languages: COBOL, C, C++, Java, and Visual Basic (my personal favorite).'

In addition to my work in the computer industry, I love to share my knowledge, and so for the last twenty years I have taught Computer Science at several Philadelphia area colleges and universities---I truly love to teach.

In 1998, I wrote an introductory Visual Basic programming book, and since then, have written others on Visual Basic, VB.Net, C#, Java and C++, and I'm currently working on a book on JavaScript. Writing books is just another way I have found to share my knowledge. In connection with my books, I have also appeared twice on TechTV's Cable show ScreenSavers. Also, my Java book was used as a plot vehicle in one of the episodes of HBO's Sopranos fourth season--which was very exciting!

I enjoy sports of all kind, and have participated in the MS150, which is a two day, 150 mile bike ride from Philadelphia to Ocean City, NJ, whose proceeds will, hopefully, cure Multiple Sclerosis. Two years ago, I started running again, and have recently completed several 5K, 8K and 5 mile races.'

 

Customer Reviews

60 Reviews
5 star:
 (45)
4 star:
 (7)
3 star:
 (3)
2 star:
 (2)
1 star:
 (3)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (60 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

44 of 44 people found the following review helpful:
5.0 out of 5 stars If you are looking to learn Java, this is the book for you, November 15, 2001
By 
This review is from: Learn to Program with Java (Paperback)
I'm not a professional programmer---just someone who enjoys writing programs as a hobby. I signed up for John Smiley's Java Study Group, which is a Blackboard.com based learning environment. The Study Group used this book as the course textbook, and I found it to be a wonderful vehicle to learn Java---which I think is a more difficult language to learn than Visual Basic.

First off, I should tell you that I'm a big fan of John Smiley and his books. I have all four of his Visual Basic programming books, and I used them to learn how to write my first computer program. I've also participated in many of his on-line courses, and subscribe to his Visual Basic mailing list. When John Smiley writes a book, he builds a community around it, with a support structure consisting of a web page and mailing list. If you need help, you can also email him--and he'll actually write back to you, although not necessarily the same day or with a
direct answer (he is a teacher after all!)

Here's my evaluation of Learn to Program with Java:

WHAT I LOVE ABOUT THE BOOK:

1. It's written so that anyone can understand it, in other words, you don't have to be a nerd to understand it. My husband is a computer programmer, and if I want to be spoken to in 'geek-speak', I would have let him teach me Java. I needed a book that patiently explained, in detail, the fundamentals of Java programming, not only the how-to-do but the 'why's' behind the language. This book did exactly that.

2. In each chapter he presents a demonstration program to illustrate the points he is trying to make.

3. Each chapter has a series of exercises for the reader to complete, with detailed instructions to guide you in completing it. By my count, there are about 100 of these exercises which contribute greatly to your learning experience.

4. During the course of the book, a real-world working Java program is developed. Each chapter has a series of exercises in which the reader is given instructions to complete the project, so that by the end of the book, you'll have developed your very own Java program. Many books concentrate on developing lots of small programs---with the result being that at the end of the book all you really know how to do is write small programs. At the end of this book, you'll feel capable of tackling your own real-world program.

5. There are lots of screen shots (hundreds) to help make learning Java easier.

6. I found the book very well organized and laid out. it starts out dealing with fundamental programming concepts like variables, If statements, and loops, and then progresses to the more difficult topics of Objects, the essence of Java programming. By the way, his coverage and explanation of Objects is the best I've ever seen--and my husband the Java programmer agrees :)

7. The book is written in the context of an actual classroom using fictional students. I feel this approach is one the books greatest assets, although I recognize that some readers may not feel the same way (see below under 'What you may not like'). 'Students' ask questions, and the author answers them. Just like a real classroom, some students ask 'good' questions and other students ask 'dumb' questions. I must admit that many of the 'dumb' questions are those I would have had myself (but been too timid to ask) if I had learned Java at an actual school. I actually found myself growing to 'like' some of these 'students'---and anxiously waiting for one of them to ask their next question.

8. The style of the book makes it OK to be technically challenged. I can't recall a single phrase such as 'of course', 'obviously' or 'it goes without saying' like I find in so many other computer books. If the author has an ego, he isn't using his books to stroke it.

9. The author has an uncanny way of answering questions in the text just about the time they pop into your head. Not surprisingly, he does this by having one of his fictional students ask the question. This is an amazingly effective learning technique.

WHAT YOU MAY NOT LIKE

1. The style of the book which I like so much, a conversational style built around a fictional classroom, can bother some people, especially those people looking to get right to the 'meat' of the subject. This style probably inflates the page count of the book by a few pages, and there is a bunch of 'he said', 'Rhonda asked' type comments scattered throughout. However, I found the style amazingly effective---imagine Mr. Rogers teaching your High School Physics or Calculus class.

2. The book doesn't jump right into Java--instead, there's an initial chapter on the Systems Development Life Cycle and how to develop a Requirements Statement to work from. Some readers might find this a 'turn off', but personally, I found it very useful, and use the methodology in the programs I write.

3. The book is definitely introductory. It doesn't cover advanced Java topics, but the topics it does deal with it covers better than any other book I've seen. Let's put it this way--after you're done with this book, you should feel comfortable in writing your own Java program.

If you need to move onto advanced Java concepts, you'll have no problem reading some of those other books.

4. The book doesn't cover Applet creation, something I really wanted to learn, but the author has posted a chapter on Applet creation on his website at:

http://www.johnsmiley.com/java/chapter14.htm

In summary, I highly recommend this book to anyone wishing to learn Java.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


28 of 29 people found the following review helpful:
5.0 out of 5 stars I think it's a great book, March 1, 2004
By 
John Smiley (Philadelphia, PA USA) - See all my reviews
(REAL NAME)   
This review is from: Learn to Program with Java (Paperback)
Let me begin by saying that I'm the author, so let's get that out of the way.

I'm posting here to point out that the book has a tremendous amount of support materials that have never been advertised. Each of my books has a support page containing a current list of errata, downloadable files (completed exercises from the book), extra links to extra materials I have written and my email address in the event you have problems. I also run a series of online classes so that if you would like to learn with me in a more structured setting, you can do that also. You can access those materials via this link

http://www.johnsmiley.com/books.htm

I should also say that this book isn't for everyone---and you can read through some of the other reviews posted here to see why and why not.

I wrote this book for beginner level programmers, and the book is written in a unique style.

You (and I) can thank the now defunct Wrox Publishing house for the style of the book that some people absolutely love and others (primarily hotshot programmers with lots of experience) hate. The book is written as if you are participating in an actual classroom---many people, particularly those learning on their own or in an Independent study setting find comforting.

My thanks to the many people who have written to me to tell me how much they've enjoyed my books and how they have helped them achieve their goals of learning to program.

John Smiley

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


21 of 23 people found the following review helpful:
5.0 out of 5 stars Skeptic gives this book 5 stars, December 5, 2001
By 
This review is from: Learn to Program with Java (Paperback)
I'll be the first to tell you that buying this book was a hard choice for me---I'm a skeptic, and whenever I see high praise for a book (especially when the author is a teacher) I figure it's just a bunch of his students posting reviews hoping to get an 'A' in his course. Also, unlike the other reviewers, I wasn't turned on by the thought of reading about a college programming class. If I wanted to sit through a college classroom with a bunch of people asking questions, I'd probably take a college course---but I hate the idea, and I really thought I'd hate this book. I was wrong.

I've been trying to learn Java on my own for the last two years, and I've bought and returned probably about a dozen. What made me buy the book is the fact that the reviewers said the book contained a working project developed during the course of the book.

That's what I needed desperately. Most books on programming have lots of examples--but they don't lead to anything. This book takes a single idea---a program to calculate student grades--and works with it until you have a completed Java program. By the end of the book, I actually knew how to write my own Java program.

I should say that despite what I thought, the cutesy classroom dialog didn't bother me all that much---it's an interesting way to write a book.

The author also has some additional material on Java posted on his website (including a chapter on Applet creation which interestingly isn't written using the cutesy classroom style--I'm not sure which one I like better).

As I say, I'm a skeptic at heart, and I'm giving this book five stars. Why? It's the first Java book I haven't returned. I'll probably keep it--or give it to one of my friends who needs to learn Java.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject