Liza Sachdev

Greenhorn
+ Follow
since Nov 21, 2018
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Liza Sachdev

hi ,

I have a question on immutability from chapter 2 from  

OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808

. The example :

line 1    String s1 = "1";
line 2    String s2 = s1.concat("2");
line 3    s2.concat("3");
line 4    System.out.println(s2);

prints  12

but if instead if line 3 is s2 = s2.concat("3") . the result would be 123 . how does it make difference ? A bit confused on this .


Thanks ,
Liza

hi ,

I have started reading the  OCA JAVA SE8 Programmer 1 Study Guide - Jeanne Boyarsky and Scott Selikoff  online   . Is the online material same as the hard code book ? I have read first two chapters . Do I need to read the other Books OCA JAVA SE8 Programmer 1 Certification guide - Mala Gupta and OCA/OCP Java SE 8 Programmer 1 & 11 Study Guide - Kathy Sierra and Bert Bates   side by side .  Please guide .
Congratulations on your success !!

So in  Enthuware , mock tests are payable or free to download . I have just started my prep for OCAJP so trying to read the threads and gather information .



Thanks
5 years ago