Thursday, 23 May 2013

Kap Memory Game 1.0


Check out Memory Game game made by me, By using java. It is simple game, just try it.
Download .rar file from chick here
 then extract it to new folder den run memorygame.jar. this game will sharp your memory.
Check out Memory Game game made by me, By using java. It is simple game, just try it.
Download .rar file from- download memorygame
then extract it to new folder den run memorygame.jar. this game will sharp your memory. 

Sunday, 17 March 2013

class check1
{ check1(int a)
{
this();
System.out.print(a);}
...
check1()
{System.out.print("In check1,");}
}

class check2 extends check1
{
check2(int a)
{System.out.print(a);}

check2()
{super(20);
System.out.print("In check2,"); }

}

class check3 extends check2
{
check3(int a)
{System.out.print(a);}

check3()
{System.out.print("In check3,");}

}

class fbtest
{
public static void main(String args[])
{
new check3( 10);

}
}

what will be output....
A: In check1, In check2, In check3
B: 10
C: In check1, 20, In check2, 10
D: Error
See More
Class Kap
{
public static void main(String args[])
     {
     int x= 011;
     int y= 02;
   System.out.println(x+","+y);

        }

}

what will be out put?
a: 011,02
b: 9,2
c:02,011
d:ERROR???

Static qus

class fbcheck
{

{System.out.print("one,");}

public static void main(String args[])
{
System.out.print("two,");

new fbcheck();
... }

static{System.out.print("three,");}
}

what will the out put??

A: one,two,three,
B: three,two,one,
C:two,three,one,
D: Error