surya.raaj prakash

Ranch Hand
+ Follow
since Oct 30, 2009
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 surya.raaj prakash

Hi Friends,
Recently i went interview for xxx company,they are asked one question on spring i.e
how to handle exceptions in spring framework?and why exception classes in spring are extends RuntimeException classes?
12 years ago
ok,stephan..

Actual requirement is..
I have been developed Three classes..
1.Approval.java it contains
"type",
"approvers",----> ( )
"dateCreated" properties
2.Approver.java it contains
"employee",
"status",
"statusDate" properties
3.Employee.java ti contains
"employeeNbr",
"firstName",
"lastName",
"emailAddress",
"managerEmployeeNbr",
"managerInfo" properties

Here from Approval object we will get list of Approver object,from Approver object we will get employee object..right?
But i would want how to write a logic to check the order and status to determine the next approver in the list?or how to check this employee same as next employee who supposed to approve from the approvers list?
12 years ago
Hi Friends,

I have one requirement would you please help on this..


I have List object which contain three elements...from the preceding code we will get the list object..

My question is how to set the order number to each element in list so based on the order number we need to get the employee or how to write a logic to check the order and status to determine the next employee in the list?and and how to check this employee same as next employee from the employee list?


12 years ago
Hi Friends,

when to use callback method(s) in java?
13 years ago

Jeanne Boyarsky wrote:Or are you asking how to do a query to get dates less than 3 days away? If so, what database are you using? Have you looked at the date functions for that database?



Hi Jeanne Boyarsky,

Yes,
MySql,
yes,I have looked at date functions but i couldn't get the right query to to send mail before 3 days..
HI Friends,

I have one requirement,i.e How to create SOL Query send a mail automatically for birthdays before 3 days?

Hi Friends,





My question is In preceding example both abstract class and interface contains abstract methods,so why can't we use abstract class as a interface(or abstract classes instead of interfaces)?
13 years ago
Hi Friends,



why In preceding code it always gives false even i pass null value?
13 years ago

Dieter Quickfend wrote:it's not really clear to me what you want to do.

If you want to test whether String type equals either "Pro" or "Glob" you could use:

What this will do is it will compare whether your String, type, equals either "Pro" or "Glob", and if it equals one of these, it will return "Prof" and assign it to the String outcome, otherwise it will return "Tech" and assign that to the String outcome.

If that's not what you want, you should clarify your query.




I want like this But I'm getting compiler error when i add Glob value to the preceding code
13 years ago
Hi Friends,
Thanks For Your Reply..

one more doubt is How can i test 3 rd value(i.e Glob) with this condition(type.equals("pro"))
13 years ago
Hi Friends,


can you explain to me above preceding code,How it will compare objects and also i"m getting compile time error when i adding Glob at the end(Like type.equals("Pro")?"Prof":"Tech":"Glob";)
13 years ago
Hi Friends,

I have one requirement please help me,I have developed one page,it has one field postal code,but this field takes data format like(ex:12345),but my requirement is to take the data format likes 12345-1234 and 1234(it will accept both formats).
13 years ago
Hi Jeanne Boyarsky and Rob Prime,
Thanks for your Reply.

And i have one more doubt, Iterator is just a clutter,what it mean?
13 years ago
Hi Friends,

can you please explain to me, when to use for-each loop?
13 years ago
Hi Friends,

Can please explain to me,How constant interface would unnecessarily affect the public API of a class?
13 years ago