premraj cheguri

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

Recent posts by premraj cheguri

Hi,
can anybody please tell me how to buy JQ Plus Cd for SCJP 1.4 in india and i would like to pay in Rs. not Dollars.
In Javaranch Mocklist i found the cost of JQPlus as Rs.300. can anybody please tell me from where i can order this cd at that price
I Think its join and wait methods which releases the lock.
Hi,
Can any one please tell me whether Dan Chisholm's Java Certification Exam book is available in indian market. it charges nearly 30 $ if i buy it from booksurge. Can anybody please let me know.

Thanks in advance
Hi,
Can any one please tell me whether Dan Chisholm's Java Certification Exam book is available in indian market. it charges nearly 30 $ if i buy it from booksurge. Can anybody please let me know.

Thanks in advance
I think the answer is A
Hi,

I think the answer is B
Hi Bert ,
Sorry for posting the same question again. but, we are in urgent need of your book. can you please let us know by when ur book will be available in the market.

with regards
Premraj Cheguri
Hi,
There is a rule like final variables should be initialized bfore they are used. so the code above results in compile error
Hi,
I think the meaning MIGHT be which operation takes first, whether * or /
Hi Srikanth,
which version of java ur using. i tried ur code on java 1.4. it is giving compile error. i think the book from which u collected this sample is also for 1.4 i hope.

---Prem
Hi,

public class Qcb90 {
int a;
int b;
public void f() {
a = 0;
b = 0;
int[] c = { 0 };
g(b, c);
System.out.println(a + " " + b + " " + c[0] + " ");
}
public void g(int b, int[] c) {
a = 1;
b = 1;
c[0] = 1;
}
public static void main(String[] args) {
Qcb90 obj = new Qcb90();
obj.f();
}
}


Values of variables which we are passing to method wont be changed and we do know that array references can be modified by passing them to a method. here we are passing only 'b' and 'c[]'.

so b value wont be changed. as 'c' is an array it will be changed. we are not passing the variable 'a' as a parameter to method. so it get modified.

i hope im correct
hi Jaman,

i think D is talking about System.exit(1); In this case the finally cluase will not be executed
Hi,
im had used ur program as it is and compiled. when im running the program continuesely im not geting them in any certain order. one time "end" is printed first, other time "String1". i think we can't expect the result in a particular order
Hi Sandy,
are these the only options available or are there any other answers.
Srikanth r u from Hyderabad. mail me at [email protected]. when r u planing to go for scjp exam. im planing to go for java 5.0 n how abt u?