Phanikanth Munukutla

Greenhorn
+ Follow
since Aug 22, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Phanikanth Munukutla

Even If I make it 100, no use. Its the same result I am getting.
15 years ago
Hi,
When I run the program ImageUtil1.java using JRE 1.6 ,I am getting a thumb image with good quality.
But If I change the jre version to 1.5 then the quality of the thumb image is not good.

code :



I need it to run it on jre1.5
Please help me


Thanks in advance..

-Phanikanth
15 years ago
class Super
{
Super()
{
System.out.println("Constructor for Super class");
}

}

public class Sub extends Super
{
Sub()
{
System.out.println("Constructor for Sub class");
}
public static void main(String[] args)
{
Sub subObj=(Sub)new Super();
}
}

Hi,
The above program(Sub.java) is compiling but while running it is giving ClassCastException.. Why???