i am beginner in java,and i am following the This book Jeanne Boyarsky, Scott Selikoff-OCA_ Oracle Certified Associate Java SE 8 Programmer I Study Guide_ Exam 1Z0-808-Sybex (2014) for exam
I am facing the issue in page 191\
on line 7 It will print in Boolean value:true ,instead of stringvalue;
This is the following summary given in the book,can you please help me to make this statement easier to read
This is a tricky one because there is a lot to keep track of. When you see such questions on
the exam, write down the values of each variable. Lines 3 and 4 are straightforward assignments.
Line 5 calls a method. Line 10 increments the method parameter to 2 but leaves the
numbers variable in the main() method as 1. While line 11 returns the value, the caller ignores
it. The method call on line 6 doesn’t ignore the result so letters becomes "abcd". Remember
that this is happening because of the returned value and not the method parameter.
Are you asking why it prints a string value instead of boolean? If that is your question the books explains it well; Line 7 prints out a number concanated with a string
posted 3 years ago
I am preparing for oca se8 exam. From .. This book OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1z0 808 by Jeanne I boyarsky . It had been more than 2.5 months. I
I completed my syllabus a week ago.. Now I just follow the same chapter again.. And doing the review questions.. From book.. But as i Completed my chapter I made 40% of the question wrong from review question....
I am not able to understand... Where I am lacking
Do my basic are week..
Is it nor. Normal.... If i did not able to crack the questions... Do iam not able to crack exam as well... All the Certified please help we with this...
Harshal Sood wrote:please help me to make this statement easier to read
Let's look at the code line after line.
Harshal Sood wrote:i am beginner in java
The above book has the purpose to prepare you for the exam. But it also has references to books, a beginner should read before reading the Study Guide. I would advice you to read a Java beginners book first and then read the Study Guide again.
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad: