Ram Chhabra

Ranch Hand
+ Follow
since Jan 07, 2008
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 Ram Chhabra

Thanks a lot for clarifications
14 years ago
Thanks,
Can you please give any one error which we cannot handle
14 years ago
Hi,

Can we catch error in java code like, can we catch OutOfMemoryError, ThreadDeath etc.

Thanks,
Ram
14 years ago
Like in spite of getters/setters can we directly deal with instance variables?
Thanks for the reply.

I totally agree with you that java does not support multiple inheritance but got confused when read everywhere that in java multiple inheritance can be archived by interface.

Can you please put some light on that?

Thanks,
Ram
14 years ago
Hi,

Do java support multiple inheritance.

Thanks,
Ram
14 years ago
Hi,

Can we use Hibernate without making POJO's.

Thanks,
Ram
Hi,

I was just going through Khaled & Mughal and come across join() method in Threads chapter.
Can you please explain me the role/function of join() method
Hi,
Can you please tell me the difference between TreeSet and SortedSet.

Thanks,
Ram
14 years ago
Thanks a lot to all. I got my answer , that composition is good over inheritance.
Thanks to all again.
14 years ago
Hi,

I have one class B and i want to use some artifacts which are available in class A like methods and instance variables.
I just want to discuss that in this situation which is better is-a or has-a

Thanks,
Ram
14 years ago
Thanks everybody..... That clarify my doubt.
14 years ago
Hi,

I was just come across one confusion. Below please see the code:



In above code i am getting compile time because in main() method on line System.out.println(a.i); it is not able to get the value of i.

Thanks,
Ram
14 years ago
Thanks for your answer. After putting where clause also i am having 1 million of records. Then how to restrict.
Hi,

I need to check that does something exist in some specified table or not. For that i can run query like ... but my problem is that mytable consist 10 Lakhs of records.

I only need to check that is any single record exist or not.... Can i use setFetchSize() or something else... can you please suggest what policy should i opt to improve performance

Thanks