venkataraman muthuvel

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

Recent posts by venkataraman muthuvel

hi

u can't fire onchange event but u can fire onclick event onblue event onselect event (document.formname.elementname.click)method is there but not method like(change).

that's y i am asked if anybody know reply me

venkat
hello all.,

urgent!!!

Is there ayway I can fire an inputs onChange event when a forms submit or reset buttons are clicked? Thanks.

venkat
I have passed SCWCD with 80%.
19 years ago
hi all

my code:

class Base{
private void amethod(int iBase){
System.out.println("Base.amethod");
}
}

class Over extends Base{
public static void main(String argv[]){
Over o = new Over();
int iBase=0;
o.amethod(iBase);
}

public void amethod(int iOver){
System.out.println("Over.amethod");
}
}

This code compile & run fine and output is "Over.amethod" .

my doubt is private method how do overitten any one explain above code .

Thanks & regards

venkat
hi all,

my code:

class ValHold{
public int i = 10;
}

public class ObParm{
public static void main(String argv[]){
ObParm o = new ObParm();
o.amethod();
}
public void amethod(){
int i = 99;
ValHold v = new ValHold();
v.i=30;
another(v,i);
System.out.print( v.i );
}//End of amethod

public void another(ValHold v, int i){
i=0;
v.i = 20;
ValHold vh = new ValHold();
v = vh;
System.out.print(v.i);
System.out.print(i);
}//End of another

}

this code compile & run fine .

output is
10020

any exaplain is code

Thanks & regards venkat
hi all

this code

public class test
{
private int i = giveMeJ();
private int j = 10;

private int giveMeJ()
{
return j;
}

public static void main(String args[])
{
System.out.println((new test()).i);
}
}

Result is 0


somebody explain above code because i have doubt this line private int i = giveMeJ(); .

new test()).i after excuting this line.
giveMeJ(); method called or not why i value is 0.

Regards & venkat
hi

chandra thanks for ur help
hi all

System.gc() is effectively equivalent to the call: Runtime.getRuntime().gc()

is it correct.

i want know both method are equals or not.

anybody know help me
hi
Sandeep Jindal

thanks for ur help

ok i understood.

Best & Regards

venkat
Yes
if the start() method on a dead thread object
is invoked.

Exception will be throw is it Correct.
hi all


This code will compile & run fine

Result is true ,true,true

my doubt is

i can not understand return startment ( return(v != v == Double.isNaN(v)); )

anybody explain this line return(v != v == Double.isNaN(v))

Best & regards
venka

( [C0DE][/C0DE] tags added )
[ July 21, 2004: Message edited by: Barry Gaunt ]
Thanks for ur replay
bye
venkat
hi Chris Allen

Thanks for ur help

bye
my question is

interface I1 {}
interface I2 {}
class Base implements I1 {}
class Sub extends Base implements I2 {}
class Orange {
public static void main(String args[]) {
Base base = new Base();
I1 i1 = base; // 1
Sub sub = (Sub)base; // 2
}}

Result is Run-time error at line 2

any one explain this question why runtime error come at 2 properly casting
is done .

why runtime error come?

Base base=null;
then casting it would come any runtime error .
why?
This is my question
class test {
public static void main (String[] args) {
char a = 061; // 1
char b = '\377'; // 2
System.out.print(""+a+b);
}}

this compiled fine but i will declar like that char b = '\378' it would not compile.

char b='\0' to char b='\377' this range work fine but after '\377' is not compile, Any body know help me