SCJP 1.4 or 1.5 suggest me
Hi All,
i am planning to write SCJP but i am in a bit dilemma of that which version SCJP i have to take up for exam , so that can be useful in my career at the most, so guys can u give me any best suggestions please.
Regards,
Rajeshwar.
There is lot of conepts added in 5.0 like scanner,generics etc. if u r strong in those u can write 5.0. but in 1.4 it will be enough if strong in basic foundation of java and syntax level. I wrote 1.4 only but no company ask me y i wrote 1.4 instead 5.0, they only ask wether i have scjp or not. so option is yours
By
Vinod
Similar Messages
-
Hi All,
I am planning for the certification, but i am confused about the version i have to go for!!!!!!!!, SCJP 5.0 or SCJP 1.4. Guys plz suggest me.
Regards,
Anand Kothapallyalways go for the most current version unless you have very specific reasons not to.
That goes for pretty much everything in life btw. -
Hi,
I would like to take SCJP examination. Could you please suggest which version I should go for? I am really confused with SCJP 1.2, 1.4, 5 and 6. I have java work experience of 2 years also.
Regardsbobz wrote:
Hi,
I would like to take SCJP examination. Could you please suggest which version I should go for? I am really confused with SCJP 1.2, 1.4, 5 and 6. I have java work experience of 2 years also.Remember that an SCJP exam only shows your Java knowledge, not your programming ability. If you still want an empty badge go for the SCJP exam with the highest number. If anyone bothers, 6 is better than 5 which is better than 4 etcetera.
If you really want to improve yourself as programmer take a set of courses at a decent community college. Concentrate on algorithms & data structures. -
A generic compilation problem......
I have the following method code......
public static <E extends Number> List<? super E> process(List<E> nums){
return null;
}I am trying to invoke this in main() method using the following:
List<Number> input = null;
List<Number> output = null;
output = process(input); //line 3But in //line 3, i get the compilation error that
found : java.util.List<capture#183 of ? super java.lang.Number>
required: java.util.List<java.lang.Number>
output = process(input);
1 errorI am getting the same error even when i use
List<Integer> input = null;
List<Number> output = null;
output = process(input);I believe the above invocations are correct. What is the problem then??All right, i get it now.
It's funny that i've taken this question from an SCJP preparation book, and the answer suggested by you is not there. Even their analysis is incorrect.
So, the reason you had to change it from List<Number> to List<? super Number> is that the method return type is defined that way in method definition. More specifically, if '?' wildcard is used in method definition for the passed type, we have to pass the argument exactly the same way (with ? wildcard) in method call.
Is my understanding correct? -
Book for SUn certified Programmer
Hi
I needed some information as to which book is good or recgnised for someone who is preparing to take the SCJP Exam. Thanks for your suggestion in advance.
ManojCongratulations for being the one hundred fifty six millionth, nine hundred thirty four thousandth, eight hundred forty second* person to ask this without doing any research on your own to see what other people have asked and been answered. You should do very well.
* I made the number up, obviously -
Can anyone suggest which version of SCJP is more beneficial to write ?
can anyone suggest which version of SCJP is more beneficial to write ? which one is more benifical between SCJP 1.4 version and SCJP 1.5 version ??? or both have the same value ?Thankq
Feel free to write for more queries : [email protected]
Asking for private responses via email defeats the purpose of having a forum, and invites a bunch of spam to your Inbox. -
Give good suggestion for prepare for SCJP and meterials?
what are good sites for Scjp preparation ?
Hi,
Be a good programmer rather than being a certified person.
I don't know y people give much importance to SCJP.
In my opinion any technical sound person can clear this exam with little bit of concentration on basics.
For an entry level professional it is not at all advisable to go for SCJP. Instead work on analytical skills , technical skills development .
After getting experience it is better to go for certification, if he really wants to fill a resume with one more coloumn -
SCJP prep help -- bitwise bad boys?
Hi,
I'm studying for SCJP so obviously one of the details I have to brush up on are the oft-unused bitwise operators: & | ^ ~
I'm wondering if there are any mental techniques to using these in your head. Instead of literally writing out the number in binary, performing the comparison, and then re-converting back to decimal.
Similar to how in grade school we learn that you can take a shortcut of multiplying two long numbers:
34563
x 24
and do these steps:
3 * 4 = 12, carry the 1
6 * 4 = 24, add the 1 is 25, carry the 2
5 * 4 = 20, add the 2 is 22, carry the 2
4 * 4 = 16, add the 2 is 18, carry the 1
3 * 4 = 12, add the 1, it all equals 138252
next line
then pad a zero on the right
3 * 2 = 6
6 * 2 = 12, carry the 1
5 * 2 = 10, add the 1 is 11, carry the 1
4 * 2 = 8, add the 1 is 9
3 * 2 = 6, it all equals 691260
altogether the answer is 691260 + 138252 = 829512
In other words, while it's not feasible to add 34563 to itself 24 times (23 actually), there is a trick to figuring it out. Is there something like that for bitwise operators?
Thanks.Thanks -- I finally collated some good tips a few days after I posted that here, with some help from local LUGgers. I'll post them here for the archives:
Would you mind posting a summary of the helpful tips, tricks, and
shortcuts sent your way? I'm rather interested in understanding this
stuff a little better myself.Sure. In fact, they say you really know something well when you can
explain it to someone else, and this gives anyone a chance to correct me
if I'm wrong in what I think I know. Here's some of the things I
learned, combined with what I had already learned from my book (please
do correct me if I'm wrong):
1. The unary bitwise NOT operator (~) has a shortcut, but one which
only works when two's complement is in effect. On systems in which
one's complement is in effect, it doesn't work. The shortcut is that
any number n has a bitwise NOT of -n - 1. So
~5 == -6
~-12 == 11
Because I'm fortunate enough to be working in Java where you're writing
for only one platform (the JVM, which has a spec), I don't have to worry
about exceptions to this for the test.
2. Other than the NOT operator, the bitwise operators are binary
operators, working on pairs of numbers. The bitwise AND operator
returns a 1 for each pair of bits that are both 1.
So in the case of
11001 & 10011
the result is 10001 (because only the first and last digits are both 1).
The bitwise OR (|) operator returns a 1 for situations in which either
pair of bits has a 1.
So in the case of
11001 | 10011
the result is 11011 (because the only place in both numbers where there
is no 1 is the third digit).
The bitwise XOR (^) operator returns a 1 for situations in which either
pair of bits, but not both, has a 1 (hence the name "exclusive OR", or XOR).
So in the case of
11001 ^ 10011
the result is 01010 (because in the first, third, and fifth digits,
either both numbers are 0 or 1).
The short circuit operators AND (&&) and OR (||) work just like their
regular counterparts except they stop evaluating once they "know" the
result (AND stops evaluating if the first operand is false, and OR stops
evaluating if the first operand is true).
3. So my original question, "does anyone know any mental shortcuts for
working with bitwise operators", should have been phrased as "does
anyone know any mental shortcuts for converting decimal numbers to
binary". The answer, which a couple of people provided, was that it's
much easier to convert to binary (even if only in your head) when you
are working from octal or hexadecimal, and that it's not too difficult
to convert from decimal to octal or hexadecimal.
Several ways were suggested:
a) Convert the number to hex, then do the comparison a byte at a time in
your head using a table:
& 0x01 0x02 ... 0xff
0x01 0x01 0x00 0x01
0x02 0x00 0x02 0x02
0xff 0x01 0x02 0xff
b) Convert the number to octal using a simple recursive divide-by-eight
solution:
divide the number by eight, store the remainder as the low bit depth
(rightmost number), then repeat the process with the quotient.
123 / 8 = 15 remainder 3 -- 3 is rightmost digit (3)
15 / 8 = 1 remainder 7 -- 7 is next to 3 (73)
we don't divide 1 by 8 -- 1 is next to 7 (173)
so 123 in octal is 0173
From octal it's much easier to see the binary form of the number:
1 7 3
001 111 011
And from binary it's much easier to do a bitwise calculation.
c) Another way to convert to binary is to simply keep dividing by two
and assigning 1 if there's a remainder and 0 if there isn't, then read
in reverse to get the binary number:
<quote>
If a number is even, dividing it by 2 will have 0 remainder.
If it is odd, dividing it by 2 will have a 1 remainder. Dividing
by 2 is so easy that I, at least, can just write down a column of
successive halvings, along with 1s and 0s for their oddness.
459 1
229 1
114 0
57 1
28 0
14 0
7 1
3 1
1 1
Reading from bottom to top, we again get 111001011. In this
presentation you stop when the quotient is 1, since you've already
written down the remainder that you'd get by dividing 1 by 2 when
you write down the oddness. Remainder when dividing by 2 is easier
than quotient.
</quote>
d) A final useful tip mentioned: as long as x is not zero,
x & -x
will always evaluate to a power of two, which means only one bit is set
in the number (the least significant of the bits of x that were 1s).
4. And everyone agreed that it's foolish to do these kinds of
computations in your head when there's no good reason not to use a
computer to do it. My personal preference is to use Python since the
interactive interpreter works just like a calculator, though any
scripting language should probably be able to handle the calculations.
(Here's a quick sample:)
|$ python
|Python 2.2.2 (#1, Dec 31 2002, 12:24:34)
|[GCC 3.2 20020927 (prerelease)] on cygwin
|Type "help", "copyright", "credits" or "license" for more information.
|>>> 12 & 14
|12
|>>> 12 | 14
|14
|>>> 12 ^ 14
|2
|>>> ~12
|-13
|>>> myResult = 0x5422CA66 & 458
|>>> myResult
|66
|>>> hex(myResult)
|'0x42'
(hey, it wouldn't be a LUG without a little evangelism, would it? :)
Much thanks to Bill, Jason, Kevin, and YATArchivist.
Erik -
I'm working through the McGraw Hill SCJP study guide for Java 5, and I don't much care for the following question:
(page 159)
5. Select the two statements that best indicate a situation whit low coupling. (Choose two.)
A. The attributes of the class are all private.
B. The class refers to a small number of other objects.
C. The object contains only a small number of variables.
D. The object is referred to using an anonymous variable, not directly.
E. The reference variable is declared for an interface type, not a class. The interface provides a small number of methods.
F. It is unlikely that changes made to one class will require any changes in another.
Answer:
E and F are correct. Only having access to a small number of methods implies limited coupling. If the access is via a reference of interface type, it may be argued that there is even less opportunity for coupling as the class type itself is not visible. Stating that changes in one part of a program are unlikely to cause consequences in another part is really the essence of low coupling. There is no such thing as an anonymous variable. Referring to only a small number of other objects might imply low coupling, but if each object has many methods, and all are used, then coupling is high. Variables (attributes) in a class should usually be private, but this describes encapsulation, rather than low coupling. Of course, good encapsulation tends to reduce coupling as a consequence.
I would have thought A and E were the answers here. If the attributes of a class are all private, you're going to have to use accessors and mutators to get to them, which is a prime example of loosely coupled code. I disagree that "F. It is unlikely that changes made to one class will require any changes in another." is a proper answer because although it does cut right to the heart of the matter, it does not describe the mechanism through which this feat has been accomplished and leads me to believe that perhaps the class has been designed with likely future changes in mind such that they will have a low impact but other unforseen changes may cause problems.
Am I out of line here?
If so, please enlighten me!
If not, ... yarrrgh! If there are questions like this on the exam, I expect to have problems with them. Any suggestions? How can I get my reasoning to line up with the test, at least for the day of the exam? ;)
Thank you in advance for any assistance!I think you're making a general mistake you have to come to terms with before you attempt the exam. You're reading stuff into the statements that aren't there. You must learn to consider the statements just as they stand and don't modify them in your mind.
For example,
If the attributes of a class are all
private, you're going to have to use accessors and
mutators to get to them,That's not what the statement says. It says all attributes are private, nothing else.
it does cut right to the heart of the
matter, it does not describe the mechanism through
which this feat has been accomplishedWho said mechanisms must be provided? The statement cuts right to the heart of the matter as it stands. -
Question related to SCJP 6 certification
Hi Everyone,
Just have question related to SCJP Exam.
I have started to prepare for SCJP 6 from yesterday (3-4 hours in a day) and I am planning to take SCJP exam in march last week. can u suggest books, which I need to go through..and also I need to write exam at earliest..Do I need to take more than one month for preparation....or less than that is it possible for good knowledge and score?
Thanks,
NaveenHello Naveen,
I am also goining to write SCJP1.6 exam(hopefully this month end).
I am referring Kathy Sierra, Bert Bates SCJP1.6. It is an awesome book and it include 350+ mock question excluding the ones you get at end of each chapter.
I dont know whats the level of your Java knowledge. In my opinion someone who has a fair amount of knowledge of the subject should take atleast 2 month of preparation before taking the exam. Syllabus for SCJP6 is more or less easy(except for few concepts) but you know what makes it a difficult exam is the minor details which we tend to ignore while studying the Java subject.
Also the questions will contain more than 1 correct answer which you cant answer correctly unless you have pracised a lot of mock exams.
So my advise to you is :take time to brush up the minor details of the subject and do lot of mock tests. That ways you can ensure good marks.Dont hurry, else you may clear the exam but not with good percentile.
Thats all knowledge I wish to give you.
Let me know if you want some more.
Best of Luck for your exam,
Best regards,
Suvojit CHAKRABORTY -
Hi All,
I am venkat, I know the fundamental and some extent of java. I am planning to write scjp exam. Can anyone guide me, how to prepare for the exam and what are the key concepts to work and suggest me books for my preparation. Thanq one and all.Hi All,
I am venkat, I know the fundamental and
some extent of java. I am planning to write scjp
exam. Can anyone guide me, how to prepare for the
exam and what are the key concepts to work and
suggest me books for my preparation. Thanq one and
all.http://www.javaranch.com/certfaq.jsp -
Is the SCJA certification required before you can be SCJP certified?
Hello,
my question is, do I have to be SCJA certified before taking the SCJP test?
And if it is not required, do you suggest that I take SCJA anyway? It seems to me that if you're SCJP certified, then chances are you probably already know the Associate stuff.
Thanks!You don't need to do SCJP before SCJA
One thing I've seen is people doing SCJP on 1.4, which is an easier exam than 1.5, with a lower passing score (52%).
Then, you get your SCJA on Java 1.5, which is the only version it is currently out on. Then you can brag about being certified by Sun on both Java 1.4 and Java 1.5. It looks great on a resume, especially if you're looking for a Java job.
As far as SCJA mock exams go, or even some free tutorials on how to get Sun Java Certified, check out the following links:
http://studyguides.scja.com/ExamScam/sunjavacertifiedtutorialsandmockexams.jsp?link=mockexams
http://studyguides.scja.com/jsr168/ibmportalcertexam399.jsp?link=mockportalexamsmockscjaexams
Enjoy!
-Cameron McKenzie
http://www.scja.com
http://ww.portorials.com
http://www.scwcd.com -
Drag and drop questions in scjp
hi all,
i m planning to write scjp this month..
can anyone tell me what 'drag n drop' questions like?
and what kind of questions are generally asked?Well you can't change your answer for the drag and drop i mean you can but if you try to go back and try to see your question again for drag and drop then your answer is going to be deleted and then you had to redo the whole thing.
So i suggest please make your decision at the same time. Drag and drop are not hard i mean something like this
System.out.printf("Pi is approxmicately", Math.PI);
Pi is approximately ______
Place the value for PI 3.14
3.145
Something like that Good luck -
Need Help -- SCJP Training / Certification
Hello,
I am a Master's Student @ IIIT, Hyderabad. I am planning to take my SCJP examination in the month of October. Could anyone of you suggest any ideas for preparation and duration assuming me as a tyro in Java. Preferred Books and any other info. Is SCJP 1.4 preferrable or 5.0.
And also , it would be more helpful if you could tell me if there are any worth institutes that offer training for the certification in Hyderabad, India.
Thank You
Saideep
Message was edited by:
Rocky246
Message was edited by:
Rocky246hi saideep....
this is vinny...i have recently given scjp1.4 and passed with 91%
if you wants to prepare scjp1.4 khalid mughal is sufficient but if you wants to try for scjp5.0 kathy sierra is good as khalid doesn't covers some latest topics from
scjp5.0 curriculum like AUTOBOXING,STATIC IMPORTS etc.
if you want any help you may consult me.
best of luck
vinny -
I have decided to take a home study course 'Certified Wireless Applications Developer (CWAD) professional certification and training scheme.' with Tech Valley.
Two steps to becoming CWAD certified will be:
1. SCJP - Sun Certified Java Programmer.
2. To submit and have successfully assessed the JobTracker Express Project.
I have no direct experience in programming, but used to be a DMS telecom's databuilder.
I really am looking forward to my studies and from what I have read on this site, this is a sound and rewarding move.I got my SCJP a couple of years ago... I wrote a bit about the experience here:
http://www.scorbett.ca/projects/viewProject.php?pid=19
If you have no programming experience, you may find it a bit on the tough side. I suggest getting a good book and going through it thoroughly. Good luck to you!
Maybe you are looking for
-
Cost of finished product repetitive manufacturing
Hi, My clients produces 5 different finshed products always. I want to map the scenario in Repetitive manufacturing. Is it possible in REM to get the actual cost of production of 5 products separately?? fir example can i get cost of finished product
-
Load Balancing on OC4J standalone
Ola, We are setting up a system with 2 Apache web servers and 2 hosts for Oracle Containers for Java. At first, > we will be using stand-alone oc4j. Web servers load balancing will be implemented via hardware. Our question is about high availability
-
Apple tv 2 power supply replacement
Is there any way of buying a replcement power supply for apple tv 2? Delta Electronics ADP-6BF S Be handy as mine has packed in one of my Apple tvs! Any help appreciated!
-
Possible iTunes and CD import freeze workaround
I have been dealing with this problem of iTunes locking up while trying to import a CD. I think I have found a workaround for this issue. I insert the CD into my drive,(do not have iTunes automatically open on CD insert.) and I copy the songs that I
-
I do. Again unbelievable forum bug La vida loca