sirisha sirisha

Ranch Hand
+ Follow
since Apr 17, 2006
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 sirisha sirisha

hi mithun,
in hyd where are you appearing forthe exam?
i am planning to appear in the last week of this month.i did not book the date yet though.
let me know and share your experiene after the exam.
hi,
i am in hyderabad AP.anyone who is interested in preparing together for the exam.
thanks
hi,
i read on this forum that the exam tests a lot on classpath questions.what is the depth to which we should know about classpaths?1.4 exam?

thanks
i am almost thinking of postponing the exam after seeing the mughal book.i got too nervous looking at the material given additionally.

every chapter has so much of additional matter.
thanks for your reply .
interface I {};
class C {};

public class Test6 {

public static void main(String[] args) {

C c = new C();
System.out.println(c instanceof I);
System.out.println(c instanceof C);
}
}

i tested both and idd not give me neother compiler nor runtime error
i read the k&b book.just to do exams i got the mugal book.and i was going through the collection chapter.they have covered it with a lot more detail including iterator interfaces and lot of other stuff.how much do we need to know for the exam.?
also in every chapter they have given lot of other suppliment information
anyone following this book and opinion on this book?
thanks
hi shiva,
my email is sirikamesh@hotmail.com

please let me know where u are and ur exam plan.anybody interested can mail me for studying.
thanks
hi,
i wouls like to join u for preparing for the exams.where do u live?
hi,
i also have the same doubt.in the order of execution when are these initializer blocks executed?
are they diferrent from static initializers?
thanks
hi,
i also have the same doubt.in the order of execution when are these initializer blocks executed?
are they diferrent from static initializers?
thanks
String s3= new String("lkj");
String s4= new String("lkj");

here how many objects are created?i am confused a bit when string r created using new.since s3 and s4 have the same value are there 2 objects areated or s4 also points ot s3.
thanks
interface One
{
public void someMethod();
}
public class One_impl implements One
{
public native void someMethod();
}


can we make method native when we implement?
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 does not this give an error?what are the rules for initialization?can anyone show some link to notes for forwar refrencing and initializations
thanks
hi,
i did the amrcus green exams and my performance was not very good.out og 60 questions i cud answer only 33 right.
i have been preparing for the exam since 1mth.

can anyone let me know how tough are the amrcus green exams?
how much should i count this score with respect to preparation of the java exam.

i have 2 more weeks for the exam date.
thanks
hi,
how the compiler thinks for this is:
in case of the first code , if case 1 is true , level1Exception is throwed , is tehre a handle to it or not.it cannot be hanled by first try so the exception propogates to 2nd try , where it is caught by Exception.
if ase 2 is true , then it is handles by inner try where it catches level2.

now in the 2nd code snippet , both case 1 and case 2 are handled by the catch of the inner try.
so the outer catch for level2 is never reached.so we are trying to handle something which is never occuring.so the compiler scolds us.