Mahendra Athneria

Greenhorn
+ Follow
since Jan 18, 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 Mahendra Athneria

Hi Lester,

thanks, i got it.

but it means List add(0,..) and linkedList addFirst() work in the same fashion? only difference is the Big O complexity of both.
13 years ago
Hi Ernest Friedman-Hill,

Thanks for your reply. but my doubt is that by using addfirst() i am using more specific method and that is my requirement. if we can do the same thin with add(0,..) then what is the use of addFirst() and linkedlist?

Regards,
Mahendra Athneria
Mumbai
India
13 years ago
Hi All,

I am using sonar to check the code quality. i got below error but dont know how to fix it.

" Loose coupling : Avoid using implementation types like 'LinkedList'; use the interface instead"

in my code i have declared


and somewhere in the function i am using it like


when i am running sonar check i am getting below error

" Loose coupling : Avoid using implementation types like 'LinkedList'; use the interface instead"

when i try to put List instead of LinkedList in declaration then i am getting compilation error because List does not have addFirst() method.

how to fix that error?

Help guys...

Regards,
Mahendra Athneria
Mumbai
13 years ago
Hi,

i have one prob, when i am using some special character like, * or / it gets processed fine in simple application. but when it is going through JNI it got distorted.

please help me to resolve the prob.


Regards,
Mahendra Athneria
Mumbai - India
14 years ago
Hi,

i have one prob, when i am using some special character like, * or / it gets processed fine in simple application. but when it is going through JNI it got distorted.

please help me to resolve the prob.

Regards,
Mahendra Athneria
Mumbai - India
14 years ago
I have one question regarding implicit objects in jsp. we can use implicit object in jsp scriptlet without declaring them. it means they are declared somewhere. i wanted to know that in which class/interface these variable declared. one more question, why we are not able to access those variables in declaration part of jsp.

Regards,
Mahendra Athneria
Mumbai - India
14 years ago
JSP
kamlesh, you are from which place?
14 years ago
hi guys,

I am Mahendra Athneria from Mumbai. I am plannig to give SCJP exam so looking for SCJP Voucher. if any one having the voucher then please let me know.


Thanks,
Mahendra Athneria
9833121309
Mumbai
14 years ago
Thanks for your Answer.

I have one more question related to overriding and implementation.

Yesterday i faced one problem. i declared one interface with some functions. then i created implementer class who implement the interface. while implementing the methods i used @Override annotations. when i compiled then it gives error

method does not override a method from its superclass @Override

but i am overriding the method, and if i am overriding the method then why cant i use @Override annotations?

Thanks in Advance
15 years ago
hi all,

my question is related to anonymous (unnamed) classes.
Anonymous classes are always sub-class of the some "new ClassName()". so my question is that if it is always sub-class of some class and if it is define the method that is already defined in super class then it is overriding the method. or we can say that it is by default follow the overriding principle.

I need your thoughts on this Topic.

Example Attached from SCJP Kathy Siera Book.



The Popcorn reference variable refers not to an instance of Popcorn, but to an
instance of an anonymous (unnamed) subclass of Popcorn.
Let's look at just the anonymous class code:


Regards,
Mahendra Athneria
Mumbai- India


[Nitesh: Added code tags. Please UseCodeTags]
15 years ago
hi,

we can read Microsoft project file like (MPP,MPX,MPID etc..) with the help of MPXJ API.

Do we ahve any API through which we can read openProj File? OpenProj is a Project Management tool same as Microsoft Project.

Thanks in Advance,

Mahendra Athneria
15 years ago