Jeanne Boyarsky

author & internet detective
+ Follow
since May 26, 2003
Jeanne likes ...
Eclipse IDE Java VI Editor
New York
Cows and Likes
Cows
Total received
785
In last 30 days
4
Total given
99919
Likes
Total received
4145
Received in last 30 days
40
Total given
2959
Given in last 30 days
15
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt Green check
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Jeanne Boyarsky

Ashley,
Welcome to CodeRanch!

In Java, variables have a scope. In particular, local variables are only available within the block ({}) they are declared. That means array1 and noHeader are no longer available by the time you get to the if statement.

You can declare them at the beginning of the method (and give them default values) to avoid this problem.
1 day ago
Scheduled promotions:

Note: We can run more than one promo in a given week, so check for updates.

Starting DateCoverBookAuthor(s)PublisherCodeRanch Forum
December 17DevOps ParadoxViktor FarcicPacktAgile and other Processes
December 17Pro Spring SecurityCarlo Scarioni & Massimo Nardone  ApressSpring
December 24No promo - holiday week
December 31No promo - holiday week
January 7Cloud Native DevOps with Kubernetes: Building, Deploying, and Scaling Modern Applications in the Cloud John Arundel & Justin Domingus  O'ReillyCloud
January 14Cloud Native TransformationPini Reznik, Jamie Dobson & Michelle Gienow  O'ReillyCloud
January 21Available
January 28Kotlin CookbookKen KousenO'ReillyKotlin
February 4Available
February 11Available
February 18Available
February 25Available
March 3Available
March 10Available
March 17Available
March 24Available
March 31Available


Go back to the main BookPromotions page.
1 day ago
CodeRanch Book Promotions - This Year's Winners


A big Congratulations to all our winners!

See our BookPromotions2018Winners

DateCoverBookAuthor(s)PublisherWinnersStatus
January 8Electron in ActionSteve KinneyManningSalvin francis , Paul Anilprem , Tony Esposito , charles rossSent in winners (1/20/19)
January 15
Hands-On Software Engineering with PythonBrian AllbeePacktPaul Nisset, Carl Byrd, Scott Mac Donald, Campbell RitchieSent in winners (1/20/19) (Carl Byrd received)
January 22
Get Programming with Java (MEAP only)Peggy FisherManningtangara goh, Manos Marketos, Fred Kleinschmidt, Daniel AnderssonSent in winners (1/28/19)
January 29Java in a NutshellBen Evans & David FlanaganO'ReillyWill Myers , Vanessa Williamson, Dave Tolls , Cezar ApulchroWinner reported received (3/1/19)
February 12Java XML & JSONJeff FriesenApresspaul nisset, Carl Byrd, Jorge Ruiz-Aquino, ludoviko azuajeWinner reported received (2/25/19) (Carl Byrd received)
February 19Kotlin for Android App DevelopmentPeter SommerhoffAddison-Wesley ProfessionalSean Corfield, Dave MacLean, Terry Broman, paul nisset, Rania BradburyWinner reported received (4/9/19)
February 26Head First KotlinDawn & David GriffithsO'ReillyWill Myers, Celso Furtado, Al Hobbs, Ron McLeodWinner reported received (3/29/19) (Ron McLeod)
March 12Core Java, Volume II--Advanced FeatureCay HorstmannPrentice HallStephan van Hulst, Zulfi Khan, paul nisset, Tim HollowayWinner reported recieved (4/9/19)
March 19Python Continuous Integration and DeliveryMoritz LenzApresslRogerio Kioshi, Travis Risner, M Khalid, Carl ByrdWinner reported received (10/9/19)     (M Khalid Received)
March 26Head First GoJay McGavrenO'ReillyRyan Jumawan, Timur Radzhabov, Rob Spoor, Will MyersWinner reported received (4/5/19) (Rob Spoor)
April 9Servless Programming CookbookHeartin KanikathottuPacktLanny Gilbert, Lucian Revnic, Liutauras Vilda, Billy TsaiSent in winners (5/8/19)
April 16Production Ready Serverless (Video)Yan CuiManningCarl Byrd, Timur Radzhabov, Divya Shiv  Sent in winners (5/8/19)
April 23Serverless Applications with Node.jsSlobodan Stojanovic  & Aleksandar Simovic  Manningsourabh girdhar, Tim Holloway, Noorul Hameed, saad el khlifiSent in winners (5/8/19)
April 30Natural Language Processing in ActionHobson Lane, Hannes Hapke & Cole HowardManningpaul nisset, Claude Moore, Carl Byrd, Christian NicholsonSent in winners (5/18/19)
May  14Building Ethereum DAppsRoberto InfanteManningMichael Krimgen, Joe Cortee, paul nisset, ludoviko azuaje  Sent in winners (5/18/19)
May  21Grokking BitcoinKalle RosenbaumManningHimanshu Ahuja, Carl Byrd, Timothy Richards, Tim MooresWinner reported received (6/19/19) (Tim Moores)
May  28The Well-Grounded RubyistDavid A. Black & Joseph Leo IIIManningAnna Baik, meenakshi sundar, Tony Esposito, Sam MaghettWinners sent to publisher (6/18/19)  Received 6/20/19 (Anna Baik), Received 6/27/19 (Tony Esposito)
June 4Classic Computer Science Problems with PythonDavid KopecManningTim Holloway, D.J. Quavern, Piet Souris, Tony Esposito Sent in winners (7/17/19)
June 4The Joy of JavaScriptLuis AtencioManningSunderam Goplalan, Carl Byrd , satya Priya Sundar, Timur RadzhabovSent in winners (7/17/19)
June 11Programmers Guide to Apache ThriftRandy AbernethyManningTimur Radzhabov, Carl Byrd, Tim Moores, Randy TongSent in winners (7/17/19) Received ebook 7/18/19 (Randy Tong, Tim Moores)
June 25Java Database Connections & Transactions (e-book only)Marco BehlerSelf PublishedDinkar Chaturvedi, genos raman, Salil Wadnerkar, Ray JenderWaiting on winners info
July 9Learn Data Structures and Algorithms with GolangBhagvan KommadiPacktRhul Kug, Devanshi Arora, Stephane Clinckart, Shikhar Vinesh SinghSent in winners info (9/4/19)
July 30Reactive SpringJosh LongLean PublishingBaskar Krishna, Wirianto Djunaidi, Ravi Desai, Chintan SanghaviSent in winners info (9/4/19)
August 13Cloud Native PatternsCornelia DavisManningMatthew Keller, paul nisset, Carl Byrd, Liutauras VildaWinner reported received 9/4/19
August 13Natural Language ProcessingHobson Lane, Hannes Hapke  and Cole HowardManningCarl Byrd, Terseer Anthony ShaguySent in winners info (9/4/19)
August 20Event Streams in ActionAlexander Dean & Valentin CrettazManningBabi Astimal Astimal, Stephan van Hulst, Raghunatha Reddy, Marco Schoolenberg  No winners replied
August 27Phoenix in ActionGeoffrey LesselManningTimur Radzhabov, Milan Bhagwat, Carl Byrd, ludoviko azuajeWinners sent in 9/22/19
September  3The Java Module SystemNicolai ParlogManningSai Hegde, Will Myers, satya Priya Sundar, Piotr NowickiWinners sent in 9/22/19
September  10OCP Oracle Certified Professional Java SE 11 Programmer I Exam Fundamentals 1Z0-815 (e-book)Hanumant DeshmukhEnthuwareRanjith Kumar Kumar, Geff Chang, Adrian Grabowski, Elias Khan  Winners sent in 9/22/19 (Geff Chang received)
October 1Graph AlgorithmsMark Needham & Amy HodlerO'ReillyD.J. Quavern , Gary W. Lucas , Awais Bajwa , Tim HollowaySent in winners 10/24/19
October 8Programming Quantum Computers: Essential Algorithms and Code SamplesEric Johnston, Nic Harrigan & Mercedes Gimeno-SegoviaO'Reilly[M Mohil, , Mainak Biswas, Stephan van Hulst,Erron Austin  Sent in winners 10/24/19
October 15Reactive Streams in Java:  Concurrency with RxJava, Reactor, and Akka StreamsAdam DavisApressRodrigo Lopes, Will Myers, paul nisset, Dinkar ChaturvediSent in winners 10/24/19
October 22Machine Learning with R: Expert techniques for predictive modelingBrett LantzPacktSudd Ghosh, paul nisset, Vaseem MohammedWinners sent 11/11/19)
October 29Java 13 Revealed: For Early Adoption and MigrationKishori SharanApressSalvin Francis, Serge Yurk , Campbell Ritchie , Robert IngmarssonWinners sent 11/11/19)
November 5Pivotal Certified Professional Core Spring 5 Developer Exam: A Study Guide Using Spring Framework 5/Iuliana CosminaApressCharles O'Leary, Geff Chang, Saket Barve, Shaik AshishWinners sent 11/11/19)
November 12Emmy in the Key of CodeAimee LucidoVersifymeenakshi sundar, Brian Burress, Shaik Ashish, Junilu LacarWinners sent 12/11/19
November 19OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815Jeanne Boyarsky & Scott SelikoffSybexNamith Kumar, Salil Wadnerkar, Aysenur Eroglu, Shaik AshishWinners sent 12/11/19
December 3Learn Java with MathRon DaiApressDanielle Beard, Piet Souris, Junilu Lacar, Lokeshwar TailorWaiting for winners info

Note: All dates in mm/dd/yyyy format

Go back to the main BookPromotions page.

For questions about this page or to schedule a promotion, contact: bookpromotion AT javaranch DOT com
2 days ago
Kris,
Yes. That is correct.
I heard from people who had to manually request Sun certs be loaded. So the migration was "inconsistent"
Charles,
Thank you for reporting this. Scott and I are updating this book for Java 11 early next year. So we are definitely interested in hearing about anything that is wrong/unclear/etc.

You are probably aware that we maintain our own errata list. I'm traveling for about a week and it's a pain to edit that page on the go, so I'll add this one when I get back home.

The best way to report errata is here at the ranch. The second best way is by emailing me. (I sent my email in a PM since you've been helpful.) The least effective way is to report it on the wiley engine because it has to go through some intermediaries to even get to us.
Congrats on being the first to post about this. I've cross linked it form all our Oracle cert forums.
Welcome Ron!
1 week ago
The practice questions book has more "English type" questions than the real exam. We did that so you'd have a solid handle on all the concepts. This one wasn't meant to be a trick question! Sorry if it turned out to be one.

You do understand the point of that question though - for-each can only go forward, one at a time, in order.
It does say that! It's an estimate of course. (We are working on writing it!). The publishers estimate for the 1Z0-815 book was spot on though so April 20th looks promising.

Artem Trofymov wrote:What about the book availability on safarionline (a.k.a. learning.oreilly.com)? Is it exclusively distributed by amazon?


All three of our Java 8 books are on Safari Online. I don't remember how much after they came out that happened but I know it wasn't right away.
Supritha,
Welcome to CodeRanch! Java 5 is very old. I recommend downloading the latest version of Java. The language is (mostly) backward compatible so you can still use Head First Java to learn the basics.

If you still want to download Java 5, it is on the archive page
1 week ago
This suggests you are running the command from the command line. So while it was built with Maven, you are still running it yourself. Which makes sense.


That means you need to add testng (and anything else the app depends on) to your classpath. Alternatively, you can create a shaded jar in Maven that has everything you need in it.
1 week ago