Hi,
As u know, Everything in java is not considered as a Object, there are primitive data types available.
eg: for numbers we are using the int which is not a object type. (only Integer is...
Type: Posts; User: TigerElango; Keyword(s):
Hi,
As u know, Everything in java is not considered as a Object, there are primitive data types available.
eg: for numbers we are using the int which is not a object type. (only Integer is...
Hi,
The built-in object type for the java primitive type is called as the wrapper class.
It will be used when the primitive type is needed as a object type for some purpose.
eg:
int count=9;...
Hi suresh,
The number is 2519. :)
Regards,
Elango
Hi suresh,
I tried in a different way and got the answer...
Solution:
divide in to three digits
134261 it is 134 and 261, then find the sum of the above digits
134 is 8 : 8th alphabet is H...
Hi,
Consider a situation where u pass the number as the input .(eg: Entering ur marks on a web page.)
Assumption: marks are between 0 to 100
For this
1) Boundary value analysis : take the...
trycatch,
Is there any Garbagecollector class in java. In jdk1.5.0 api there is no such class defined.
Can u explain bit ellaborate on this.
Regards,
Elangovan R.
This is the definition i got:
Before an object is garbage collected, the runtime system calls its finalize() method. Your class can provide for its finalization simply by defining and...
In MySql if u want the first n rows then try this one
select * from table_name limit 0,n;
I haven't tried it. Hope this will work. ;)
Yes, james is correct. i also got 100.
Solution:
1) both having intially x
2) second loses 20 to first one
so x+20 = x-20
3)first loses 2/3(x+20) to second, then second has 4 times of...
hey, the solution is correct. tell me flaw in the first pic.:confused:
Try this one.
This will meet the condition. ;)
Solutions:
1) See the answer in the doc.
2) One more soultion is there, but thats not the exact solution.
First group all the match stick and burn it. Then all the sticks will be arranged as...
singleton class is used to restrict instantiation of a class to one object. This is useful when u are sure that one object for a class will improve the performance instead of creating multiple...
sorry this is the html part code......
img src="" onclick="showHide('tab1')" --image tag
table id="tab1"
the details......
/table
i had the same situation, ie to hide the details by clicking on the image......for that i have used the table which has the details.......
function showHide(id)
{
...
function refreshPeriodic()
{
location.reload();
timerID=setTimeout("refreshPeriodic()",30000);
}
timerID=setTimeout("refreshPeriodic()",30000);
function refreshPeriodic()
{
location.reload();
timerID=setTimeout("refreshPeriodic()",30000);
}
timerID=setTimeout("refreshPeriodic()",30000);
sorry i don't know why the code is...
function reload()
{
window.location.reload();
}
this method will reload the page when u call the method.....but not for every two minutes......
the same situation happened...