Mark Kramer

Greenhorn
+ Follow
since Sep 02, 2010
Western Washington USA
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 Mark Kramer

Janeice DelVecchio wrote:I have SCJP (Or whatever they call it), Perl, and my capstone left. My capstone is actually going to be a remodel of the Javaranch Bunkhouse... be on the lookout!



Sounds like you're almost done. Perl is a little odd if you're used to Java but the exam isn't as hard as the SCJP. Make sure to speak to Dr. Vance about the capstone. He was very helpful in defining the scope of my project -- it could easily have become too large to manage. Even with a limited scope, my paper was over 50 pages.

Good luck with your studies!
8 years ago
Good job Janeice! When I got the email, I immediately recognized your name from the WGU software development community. How much more do you have left? I turned in my Capstone a couple of weeks ago and I have officially graduated. Not sure what to do with all this spare time... learn more Java?
8 years ago
Now that I am certified, I'm wondering which area of Java to learn next. I completed the certification for a university course and I am not interested in studying for another cert at this time but I do want to leverage my new Java knowledge while it is still fresh. Some interests are web development (JSP, Struts, Hibernate?), J2ME and C#. Yeah I know, C# isn't Java -- but C# has recently become the standard at my workplace and, from what I can tell, is fairly similar to Java so maybe the learning curve wouldn't be too steep.

Thanks in advance for any advice on a logical next step.
8 years ago

Ankit Garg wrote:Actually that won't happen as all the case labels themselves have return statements in them. The thing is, whatever the value of i is passed to f method, your code will not be able to reach line no 11...

You're right, I looked at it too quickly. The last return cannot be reached because, regardless of the value of i, a return will be executed somewhere in the switch statement.

Harikrishna Gorrepati wrote:Hi,

Please advice why Line 11 is unreachable. Line 9 return statement is part of switch and Line 11 is part of String f() method return type know ?


A switch statement will fall through all cases until a break is encountered. In this case your switch has a default which has a return and none of your cases have a break. Therefore whether you match a case or not, your switch will always eventually fall through to the return in your default case.
Same here. No logos available to download and no forms. I did the verification. Maybe the Oracle version of the logo isn't ready.
8 years ago

bhushan shirsath wrote:passed scjp with very less marks feeling very bad got only 68%

how much time does it take for the certificate to arrive?in india mumbai



Nothing to be ashamed of. It's a tough exam and you are now an OCPJP.
8 years ago
Reposting from my earlier pre-test thread.

I took the test Monday and passed with 83%. Not quite as good as some of the other scores posted Monday but I'm pleased nonetheless considering my practice exam scores. The K&B book, LearnKey MasterExam, and ExamLab were excellent learning resources for this exam.

As expected, there were no serialization questions.

Drag-and-drop questions still lose your answers if you want to edit them. Pretty lame but at least it warns you and gives you a chance to back out.

They were sticklers with testing policy at the site I went to. I asked if I could use pencil and paper and they said no. They had me leave everything including my watch and then they had me pull out my pockets, pull up my sleeves, pant legs and socks to make sure I wasn't hiding anything. At that point I was expecting them to have me put my hands on the wall for a pat-down. Occasionally they had someone walking up and down the testing room looking over everyone's shoulders. I have taken at least a dozen IT certification exams in the past and I've never seen this level of scrutiny.
8 years ago
Took the test today and passed with 83%. Not quite as good as some of the other scores posted today but I'm pleased nonetheless considering my practice exam scores. The K&B book, LearnKey MasterExam, and ExamLab were excellent learning resources for this exam.

As expected, there were no serialization questions.

Drag-and-drop questions still lose your answers if you want to edit them. Pretty lame but at least it warns you and gives you a chance to back out.

They were sticklers with testing policy at the site I went to. I asked if I could use pencil and paper and they said no. They had me leave everything including my watch and then they had me pull out my pockets, pull up my sleeves, pant legs and socks to make sure I wasn't hiding anything. At that point I was expecting them to have me put my hands on the wall for a pat-down. Occasionally they had someone walking up and down the testing room looking over everyone's shoulders. I have taken at least a dozen IT certification exams in the past and I've never seen this level of scrutiny.

koklum chan wrote:
I had 7 years in MS Visual Foxpro programming, which mainly i coded in Procedural approach. I had limited exposure to many of the OO concepts in practical sense.

Based on my background, how long roughly i will be taking to be 'SCJP' certification ready ?

Thanks.



I am also a procedural language programmer (16 years of iSeries RPG) with practically no real world OO experience. I have been preparing for this exam for about 2 months. I put in about 12 to 15 hours of study a week. I am taking the exam tomorrow. I scored about 60% on the LearnKey ExamMaster exams that came with the book which, according to other posts here, should be enough to pass the exam. For procedural programmers, writing OO practice programs really helps reinforce the concepts.

Good luck with your studies!

Sandra Bachan wrote:Following is based on code from enthuware:





Although your methods are returning 0, both methods have a void return type meaning they return nothing. System.out.println is expecting the method to return something to print. Also, you are trying to print outside of a method. Try changing the code to the following (added main method, changed methods out1 and out2 to static with int return type):



Changing the code above to return a void type now results in errors "'void' type not allowed here" and "cannot return a value from method whose result type is void".


I ran the program below to test the concept and it does appear that Integers outside of the range -128 to 127 are never == with equal values, and within the range they are always == with equal values. Perhaps there is no such thing as an Integer pool outside of this range? Nonetheless, Integers are always immutable -- immutability and pools are two different concepts.

Gari Jain wrote:
Integer is implementing some partial integer pool here??? This is confusing me!
What exactly is going on here?



I think the point here is that whether Integers are stored in a pool or not, they are still immutable. When you increment x, it will never affect the value of other Integers. Someone correct me if I'm wrong but I believe the authors are saying 1) Integers in the range of -128 to 127 are stored in a pool and equal values will always reference the same object 2) Integers outside of this range are not guaranteed to reference the same object even if they have the same value, and 3) Integers are immutable. i.e. changing a value will always result in a different object reference.

The bottom line is that you should use the equals() method when comparing Integers because == is only reliable in a narrow range of values.

Gari Jain wrote:I also have SCJP tomorrow..n my brain is fried up too....


Long days of complete Java immersion will do that to you. I think a good night's sleep is in order tonight. Good luck on the exam.

Ankit Garg wrote:(although 18th sep was yesterday and monday's date is 20th)...



Ha ha! My brain must be fried from all this studying. Not sure where that number came from...