Sriram Akula

Greenhorn
+ Follow
since Mar 21, 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 Sriram Akula

I am using query parser. But the filed values on which we are searching is are being converted to lower case.

Is there any method to make it case sensitive?
Thanks maneesh....I think its the best way to learn..i would try it out
14 years ago
Can anyone give me an idea how to use third party tools in swings.

Also i need a sample code for reading xml file through java(in swings would be much helpful)
14 years ago
Thanks Ritchie...got it clear now
14 years ago
my query is same as what Mr. Gupta has guessed
14 years ago
sorry for not asking question properly...


the code i gave runs perfectly.

My question is that method1 is not available for Subclass .and how does it give the out[put instead of runtime error
14 years ago
package pakage1;
public class Superclass
{
void method1()
{
System.out.println("This is method 1 of Superclass");
}
}

package package1;
import package2.*;
public class Other{
public static void main(){
Superclass sc=new Subclass();
sc.method1();
}
}

package package2;
import package1.*;
public class Subclass extends Superclass{

}

In the above code method1 is not available to Subclass. And sc is instance of Subclass. Can anyoneexplain why method1 of Superclass is called?
14 years ago