I have the following doubts. Q.1) Can constructors have access modifiers like private,protected and public. Q.2)Can we overload the main method. Q.3)In the...
guide@...
Jan 1, 2001 5:46 pm
5027
... and ... Sure they can. ... Yes. You should remember though that the VM will only call the PSV main(String[]). ... Yes, all these operations work on ints. ...
Gaurav Sareen
gsareen@...
Jan 1, 2001 7:18 pm
5028
Hi, John, i had just passed the exam. the passing score is 61%(for java2 platform) i think most of the mock is close to the real one, and i strongly suggest u ...
sina
huangxiaoyang@...
Jan 2, 2001 12:59 am
5029
seems that only a few mock exams are available online.... hope that more people will create a mock exam...more...more.. :) Regards, John ... From: sina...
John
john@...
Jan 2, 2001 1:28 am
5030
rbrt2k@...
Jan 2, 2001 4:30 am
5031
Sina, Which mock exam score is near to the real exam score??? Regards, vijay ... __________________________________________________ Do You Yahoo!? Yahoo!...
Vijayakumar Ramakrish...
vijayrvk@...
Jan 2, 2001 9:07 am
5032
one doubt - I thot bit shift operators work on long also (i'm not sure about double/float). do correct me if i'm wrong. ... From: Gaurav Sareen To:...
Anil Sharma
anil_ks@...
Jan 2, 2001 9:19 am
5033
Hi, John, u may download some simulator. http://www.geocities.com/SiliconValley/Network/3693/othersites.html good luck. Xiaoyang ... From: John To:...
sina
huangxiaoyang@...
Jan 2, 2001 9:42 am
5034
Thanks a lot Gaurav for solving my doubts. I appreciate your time and quick response. Rgds Meera ... any...
guide@...
Jan 2, 2001 10:43 am
5035
HI Group, I am aiming to give my certification exam by the 15 of this month.But there are no vouchers available in the place where I stay (Mumbai,India) , till...
Gurunath M.
mgurunath@...
Jan 2, 2001 11:25 am
5036
about one month...
javacert
javacert@...
Jan 2, 2001 11:57 am
5037
Please look at following code: public class AQuestion { public void method(Object o) { System.out.println("Object Verion"); } public void method(String s) { ...
raj
rajender@...
Jan 2, 2001 12:21 pm
5038
Hi, I have worked out following solution for ur problem. If u have a reference which can be cast to two or more class types in derivation hierarchy, then...
Mukesh Sharma
MukeshS@...
Jan 2, 2001 1:13 pm
5039
Yes they do, my bad. ... sure about double/float). ... private,protected ... any ... say ... unsubscribe@e......
Gaurav Sareen
gsareen@...
Jan 2, 2001 3:03 pm
5040
Here is a new site with information on Java Programmer Certification and Java Architect Certification. http://www.certificationguru.com...
smarupudi@...
Jan 2, 2001 3:19 pm
5041
The correct order : Compared to public, protected and private accessibility, default accessibility is.... a)More restrictive than protected, but less...
wei.ru@...
Jan 2, 2001 9:38 pm
5042
Here are some mock exams: http://www.4tests.com/exams/examdetail.asp?eid=61 enjoy......
alpha
hongfei.duan@...
Jan 3, 2001 2:50 am
5043
Hi, Within a Package... THERE IS NO DIFFERENCE between "protected" & "private". So the first part of statement B is not correct. and outside the Package as you...
Satish Chandra
asatishc@...
Jan 3, 2001 4:45 am
5044
I came across a note on internet today. It says that conversion can occur when the unary operators r applied. For example: byte x = 0; byte a = 8; x = -a;...
pleasantplum@...
Jan 3, 2001 4:59 am
5045
On execution of the following code the output is "myTest method"/ "run method". can any body pl explain this. thanks amit class T implements Runnable { public...
amit
amit/iffco@...
Jan 3, 2001 7:12 am
5046
Hi Amit, The thing to realize here is that the run() method and the myTest() method are called from different threads. Scheduling of these threads is up to...
Evan Jones
EvanJ@...
Jan 3, 2001 7:26 am
5047
Hiya I think you meant Within a Package... THERE IS NO DIFFERENCE between "protected" & default access. Cheers Evan...
Evan Jones
EvanJ@...
Jan 3, 2001 7:29 am
5048
Just to add to Evan's explanation if u modify the code as below... class T implements Runnable { public void run() { System.out.println("run method"); } public...
Mukesh Sharma
MukeshS@...
Jan 3, 2001 7:37 am
5049
hello friends, the reasult of following code is amit hellohow are you. even i have assigned different value to s at line 4. public class SBTest { public void...
amit
amit/iffco@...
Jan 3, 2001 7:40 am
5050
Hi Amit, What you need to understand here is that all parameters in Java are passed by value and not by reference. So in amethod s and s1 are simply copies of...
Evan Jones
EvanJ@...
Jan 3, 2001 7:55 am
5051
hai guys, Select all correct answers? A) public abstract void Test() { } B) public void abstract Test(); C) public abstract void Test(); D) native void...
kasi78_2000@...
Jan 3, 2001 8:16 am
5052
hai guys, The innner class declared inside the method must be instanciated with in that class. Is it true? please explain.... thanks in advance......
kasi78_2000@...
Jan 3, 2001 8:22 am
5053
hai guys, for random access file we will give mode in constructor like "r" (or) "rw".like this is it possible to give to any other file.... may the question is...
kasi78_2000@...
Jan 3, 2001 8:22 am
5054
hai guys, I heard from somebody in the new scjp there also questions coming like .....out of 60 question 20 was from shift operators and instanceof is it...
kasi78_2000@...
Jan 3, 2001 8:28 am
5055
I tried for some solution. I think that "null" ain't "Object". If you use instanceof to check it, u can z it! if (null instanceof Object) ...