souji nutak

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

Recent posts by souji nutak

in switch case the byte will not be promoted as int, it will be byte only. so when you are giving the case as 128 it is giving an error
The range of byte is -128 to 127 only, because of this it is giving that error
hi all,

i am developing a jsp page in which i have to provide a link for the popup, for that is used js function and open(). its working fine

now my need is that, whenever i open the popup the parent screen must not be in active position when i click on ok or i close the popup then only i have to get access to the parent screen.

can any one help me out in this, please
hi VSSMK,

i executed this program, it is giving the output that i wrote there. i didn't understood why it is giving true in one case and false in another

could you please explain me that in detail
Can any one give explanation for the below code?

class Program {
public static void main(String[] args) {
Integer i1 = 20;
Integer i2 = 20;
Integer i3 = 201;
Integer i4 = 201;
System.out.println(i1 == i2);
System.out.println(i3 == i4);
}
}

it is giving an output

true
false

why so?
Hi Armen,

I am also planning to give my SCJP 5.0 exam
Can you please provide me with some of usefull mock exams for the same. My email id is "[email protected]"

Regards
souji nutak
awt
no, awt is not there in SCJP5
Can we override a final private method???


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



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

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