Sekhar Kadiyala

Ranch Hand
+ Follow
since Feb 17, 2004
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 Sekhar Kadiyala

Hi...I am trying to manually run a simple hello world application in spring framework. I have added spring.jar to CLASSPATH and have below programs compiled correctly.



and



Error is coming at the bold line
However, java HelloApp command is giving below error message

you mean you want to do it thru Java code? Or any other mechanism is okay?
15 years ago
Thanks a lot, buddy! I really missed such a trivial thing!!!

How can I ever call myself a triple certified java guy
15 years ago
Hi, I am trying to write a simple java program using spring framework. I have downloaded spring.jar file into a folder called C:\sekhar\java and this path is added to CLASSPATH variable.

Now, i have written a class file that imports a class from this spring.jar

import statement reads



When i am compiling it throws the error message


It's been ages since i have done some Java programming!!! What am i missing?
Hi, I am trying to write a simple java program using spring framework. I have downloaded spring.jar file into a folder called C:\sekhar\java and this path is added to CLASSPATH variable.

Now, i have written a class file that imports a class from this spring.jar

Import statement reads


When i am compiling it throws the error message


It's been ages since i have done some Java programming!!! What am i missing?
15 years ago
All the expressions are evaluated from left to right. At least one of the operands of the first two in both the expressions line 1 and 2 are strings hence "+" behaves as concatenation operator. However, In the line 3, first two are long operands and hence the "+" is working as arthimetic operator.

Hope this helps!
Hi Lalitha,
Both the statements are true. When an exception is not caught by the program, it gets propagated all the way to the top most parent class and then ti would throw it up causing the application to come to stop. For example, if you dont have try and catch block for the ArrayIndexOutOfBoundsException, and if the code is trying to access some unavailable index, then the error is propagated thru all the classes until it reaches the top most parent and then the error is thrown back on the screen.

Hope this helps! and good luck with the exam!
Dear Matt,
SCJP is supposed to be one of the easiest entry level certifications and Java being such wonderful language, i am surprised you are facing difficulties in remembering the stuff.

There is a cram sheet in the exam cram book that covers all the concepts and all you need to do go thru it for 2 weeks and you will start remembering the stuff. Also, two minute drill in K&B can help you.
Dear Mohammed,
It depends on what kind of line you would want to adopt. Would you be interested in Application Programming side or Networking side. CCNA etc...would help you for the later one. If you want to be an application programmer, i would recommend strong grip on one database that can be Oracle.
Hey Manisha,
I thought K&B covers it pretty well. Are you asking for something more than that?
Such Training certifications do not make any impact. End of the day, what counts is the knowledge and thats what you are gaining by completing SCJP.

So, please dont worry about other material for SCJP exam. However, in liesure time, you can refer such stuff for a good reading.

For SCJP, K&B is more than enough to score 90+.

Good Luck. BTW, i just sent you the mock papers.
Are you looking for manual integer conversion or methods of wrapper classes?
Hey Buddy,
Whenever you are assigning a high storage variable to a low storage variable, you need to type cast. In this case, int occupies 32 bits and byte occupies only 8 bits. Hence

When you have


it won't compile. It will compile if you say


However, when you qualify a variable with final modifier, it will work because, now i is considered as a constant. This is as good as saying



Whenever, we assign constatns/literal, Compiler takes care of the type casting which is called internal type casting as long as that literal is within the range of the type.

Hope this helps
Haritha,
Did you find the information you are looking for?

Best regards,
Sekhar
Hi there,
It's good to go thru multiple exams, but trust all of us, Kathy and Bert's book is more than enough to get the exam witjh 90% plus scoring. All of us have done it. There are bunch of mock exams that are available for free.

Easiest way to figure out, if you are ready or not is, to play the cow game in this web site and the day you score consistenyl 100%, you are all set to rock and roll!

I have few mock exam papers that are in the standards of original exam, which i use for my students in my organization. Drop me a note @ kadiyala.sekhar@tcs.com if you would like to see them.

Good Luck,
Sekhar