Amitt Thakkarr

Greenhorn
+ Follow
since Apr 25, 2011
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 Amitt Thakkarr

Hi,

How does spring identifies which concrete class it should used in case of collections.
like :
<bean id="a" class="A">
<list>
<value>"ABC"</value>
</list>
</bean>

Here which concrete class of list it will use, same for Set.
Thanks,
Amit
12 years ago
Hi,

If we need to implement common validation(like validate the ROLE of user or credentials of user) on each request, where we should place such code in Struts.

Thanks,
Amit
12 years ago
Hi,

some one asked me one question "In Spring AOP we give the configuration for jointpoint (expressions for method matching): so the question was how Spring container knows that the Methods are getting called"

Thank,
Amit
13 years ago
Thanks,
I am sorry, if i bother you again..
I knew how String literal are created, how string object are created and many reference point to same string Object.
my Question was : Why Java API give this way of creating the String (String s = "abc"). I am not comparing the two ways of creation.
But what was the thought behind to give such way of creation.
13 years ago
Hey Mathew.. Thanks..
But i wanted to know if subclass will call the super class constructor by default then how memory created for each constructor...
13 years ago
Hi,

Can any one tell me why Java provides two types of string Creation?

1. String s = "abc";
2. String s1 = new String("abc");

1. String s = "abc"; --- Will create the string object or literal. But why Java provides this way of creating the String.
This way of creating an Object is only with String class not with any other Class.

Thanks,
Regards,
Amit
13 years ago
Hi,
If Sub class calls the super class constructor. Then if i create the object of subclass then how many object or memory will be created.
suppose ClassA extends ClassB, ClassB extends ClassC, ClassC extends ClassD
i created the object of ClassA(new ClassA()) then how many object will be created.

Thanks,
Regards,
Amit
13 years ago