Ashish Thakur

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

Recent posts by Ashish Thakur

Hi bidyut!
Checkbox group is just a functional implementation of grouping the checkbox component, ie it allows for radiobutton functionality. Hence it is not a ui component and has no visual entity but a functional presence.
But it is placed in the .awt package as it is a implementation for the awt component.
Finally, its parent is the default Object Class.
I hope i got to ur need
refer to jdk1.2.1/docs/api/index.html
Bye
Ashish
Mahaanna Good going
Infact it was a foregone conclusion that u would be a SCJP it was only a matter of formalities.
All the best.
And Stay Tuned
Ashish T.
Hi!
Been working on Java1.2 for over a year now, Have my JCP and intend to give my Developer exam.
What areas do i need to cover?? is there any reference similar to JCP.
Also anybody knows the cost involved in giving it in India???
Will be great help.
Bye.
Thanx in Advance

Hi Eric!
Firstly, its
public void actionPerformed(ActionEvent evt){}
with 'a' small, i hope that was atyping error.
Secondly its very Obvious that the choice 1 is the only possible option as ActionEvent does not have or inherit the getComponent() method, it is the method for ComponentEvent , need to refer to ur jls or jdk docs...
bye
In my opinion ur answer is fine.
when u said :
shouldn't there be an indication of an array somewhere? I get a compiler error with this. My answer was String[] s = {"a","b","c"};
the "this" meant the previous code right?, cause ur code will not have a problem unless u try to declare it within a method.
Also the question is quite out of line when it says
"Call the string by the variable name s" it should have said,
"Call the array by the variable name s" or
"Call the string array by the variable name s"
Anybody has any other opinion??

25 years ago
Hi psethura!
istory repeats itself, i remember the same query i had sent t this forum a fw days back.
Dont worry , ....as if saying this much has solved ur problems.
Than let me add,
I started by getting 46% in Khalid then worked on a little more and one day prior to my exam day, i scored just 65% (thats fail).
But as Mahaanna will also tell you wht he and kking told me, its fine.
And then i got 90% in the actual test.
So dont panic at all, the exam has certain error questions i guess.
U will clear , just try to get aroud 65-70 in your Khalid. Its not similar to the real thing.
Bye.
Take Care
Study Hard.
Ashish T.
Thats correct!
Good GOing, when are u giving the test

Hi Leclair
I think the explanation is quite simple.
b1.toString() returns a 'new String Object' and not a String literal. So the comparison is between two reference variables of 2 different String Objects havin the same 'Value'
Hence straight == comparison results in false.
Its like doing,
String s1 = new String("127");
String s2 = new String("127");
here s1!=s2,
but
s1.equals(s2) OR s1.compareTo(s2)==0
Bye.
Take Care
Ashish

Well, there were 6 that i got wrong (thats 90% right..)
Of this i thought 3 i was unsure of, infact i remember the questions but i guess it would be unethical of me to discuss it here. So i will be spending some time to clear out that doubt.
And the 2 i could put that in carelessness/ unfair 'cause i dont exactly remeber where i could have faltered. The time available was too much i would say, i got to review rerevview , rerereview , rere...re.view. till i dropped bored to death (as the conductors could not let me off as soon as i finished ... some admin problem or somethin..)
Anyway
Thanx to u guys again
and
ALL THE BEST kking for next week
See you here again and also soon on the Developer forum.
Take Care U all
Hi,
One and all at Racnch !
Ur cowboy stunts have helped me clear the exam.
Though i didnot post many queries , i guess they were the same as the ones already posted, i got great help from u guys.
Especially the last reply of my urgent request:
Special thanks to kking and mahaanna
That was a confidence booster.
But frankly i was disaapointed with my score ( i hope i dont sound like im cribbing) 'cause my estimation on giving the test was alleast 95%.
But thats fine
Thanxs again.
Will ike to contribute more in the future.

Thanks a bill... Guys!
For that prompt reply.
what u said has put me to some ease, i have been hitting 60 - 64%
but i thought that was failing....
though it sounds great that 50% is also good enough,
A great confidence booster
Bye,
Thanx.
Hi,
Need to find the Khalid test answers urgently.
giving the exam in a couple of days, but still getting some errors at this test. Do not have time for checking for errata.
Please help me if anyone can
ASAP
Thanx.
Bye.
Hi,

Cant do that, i am using the Java2 pakage so have to use pluggi ie OBJECT tag etc..
25 years ago
Hi,
I need to embed certain classes for my applet in the browser,
As i understand we need to create the .cab files and .jar files for this.Each for IE and Netscape.
I have created the jar files using
jar cfm JarName.jar ManiFile.man -C ClassDir/*.class
The Applet AppletClass.class is inside this jar.
But when i call it from the Browser using the within_jar_filepath/AppletClass.class it says cannot init applet.
I have included the JarName.jar file in the archive tag of the Browser.
Can anyone hellp me at to what is that i am doing wrong or not doing at all.
Also how do i make .cab files, I am using the jdk1.2.1 kit
Thanx for ur help.
Ashish T.
25 years ago
Check if u have a jre1.2 installed in your system.
Also i hope u have not unzipped the pgjc-engine.zip.
All u need to do is invoke the test by writing
java -jar pgjc-engine.zip (or .jar if u have d/w .jar version)
and this should allow it to run fine.
Could not guess the real problem , do clarify the problem with error given if the above does not work.
Hope i have understood ur problem .
And all the best , u need to score at around 82% to be sure of clearing the actual test.
Take Care
Ashish T.

[This message has been edited by Ashish Thakur (edited April 03, 2000).]