Anto Telvin

Ranch Hand
+ Follow
since Aug 12, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anto Telvin

hi
what will be the default specifier of abstract class


thanks
13 years ago
hi all

i have some doubts about the mentioned collection classes.

if we are taking about Execution Time which one is faster and why?

Is the performance of ArrayList and Vector same or which one has higher performance and why?


thanks in advance
13 years ago
yup i got thanks
13 years ago
i tried but it is printing only A that means control is moving out of the class is it like that or else and why it is not printing C
[ October 23, 2008: Message edited by: Anto Telvin ]
13 years ago
hi all
i have the following code i want to know what is happening after try is executed where the control will go after reaching return.

class exception
{
public static void main(String args[])
{
System.out.println("A");
try
{
return;
}
catch(Exception e)
{
System.out.println("B");
}
System.out.println("C");
}
}
thanks
13 years ago
hi ranchers
we have mainly collection interfaces like collection,List,Queue,Set,SortedSet,Map etc.All has so many methods .my question is did these interfaces contain classes it is concrete or abstract classes



thanks
13 years ago
nope the question is how the counting of x and y in condition of if is calculating .sorry for the other question
13 years ago
hi all

public class c5 {
public static void main(String[] args) {
int x=2;
int y=3;
if((y==x++)|(x<++y))
{
System.out.println(x+""+y);
}
}
}

thanks
13 years ago
thank you very much
13 years ago
hi ranchers
i have the following code :

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

private int giveMeJ()
{
return j;
}
public static void main(String args[]){
System.out.println((new AQuestion()).i);
}
}
why i am getting 0 as output.what is happened here?

thanks in advance
13 years ago
sorry it was by mistake
assume that it is declared






thanks
13 years ago