suresh mit

Greenhorn
+ Follow
since May 23, 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 suresh mit

Here, obj is custom defined object of a drag and drop target class.
When i try this,



it says
id is not defined
How to get id value from an object rather than object from an id in javascript?


In the above function, i want to get the "id" of the target object [called "obj" ] of the dom tree. help me.
Thanks in adv !!
Hi Everybody,
I am doing a project in javascript and html.
I want to create dialog box and joint them using wires like in YAHOO pipes.
So I can move them easily.
How to create wires like in Yahoo pipes to my own dialog box.
Please give me some idea.

Thanks in advance!
Hi Everybody!
I am new to J2EE frameworks.
Now i am doing project using struts, hibernate and spring frame works.
Can you suggest me some best books or study material?

Thanks in advance!
15 years ago
How to drag and drop a button between two frames in the same page?
please give me an example.
[ June 11, 2008: Message edited by: Bear Bibeault ]
Thanks Stevi Deter. Now I have understood the difference between inner class and subclass.

Originally posted by Nareshreddy Kola:
Method invocations allowed by the compiler are based solely on the declared type of the reference, regardless of the object type. I hope this should answer your question.



It means that, The inner class method can access and use the the outer class method but it does not has that method like in the inheritance. So we can not access the outer class method using inner class object reference. Am i right ?
I access the sayHai() method of MyOuterClass from sayHello() which is declared in MyInnerClass.It works correctly. So it means that the inner class has(has access to) that method. But Why i am not able to access that sayHai() public method using instance of inner class object?
Thanks for the reply.

When i access the private or public instance method of the outer class from the inner class method , it works perfectly. But i could not access that instance method using inner class object which is in the outer class.

The following code compiles and run without any errors.



When i uncomment that bold line, it gives error. Explain me why i could not access it.
In the following code,



When the above prog is executed, it gives compiler error. What is wrong in that code?