Help coderanch get a
new server
by contributing to the fundraiser

Vamshi Vrukodar

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

Recent posts by Vamshi Vrukodar

Hi,
I took my exam yesterday and I passed with 90%. Thanks to one and all....Though I was'nt an active member of this group I used to read most of the messages posted.
Regards,
Vamshi
21 years ago
I am sorry. excuse me for this post. I misunderstood the question.
Thank you
Vamshi
in the following code,
int j=0;
for(int i=0;j>3;i++)
j=j+1;

System.out.println(j);
the output is 0 where I expected it to be 3.
Please can you explain the above behaviour.
Regards
Vamshi
Hi,
I was trying to find and solve the mock exams for 1.4. I found Marcus mock exam 1 but it is not for 1.4. At javacertification.com I solved few questions designed for 1.4. Please can anyone let me where I can find mock exams for 1.4. (I solved Dan's topic wise questions).
Regards
Vamshi
hi Yi Meng,
Thank you...I understood the concept.
Regards
Hi,
I am new to this group. I am preparing for the programmers certification exam. I had a doubt regarding Interfaces. If u run the following program,,,
interface A {
String s1 = "A";
String m1();
}
interface B extends A {
String s1 = "B";
String m1();
}
class InterfaceExample implements B {
public String m1() {return s1;}
public static void main(String[] args) {
A a = new InterfaceExample();
System.out.print(a.m1());
}
}
The output is B. But I thought, since a is of type Interface A, the string returned will be that declared in Interface A. Can anyone please give an explanation for the output.
Thank you
Vamshi