rag mul

Greenhorn
+ Follow
since Oct 31, 2003
Merit badge: grant badges
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 rag mul

thanks for your reply.
Hi,
I just finished the Marcus mock exam and got 67%.
can anyone comment on performance. All comments are welcome.
thanks in advance,
rag
Hi Ponnala,
can u tell me the level of difficulty of the question on IO ( iam a bit weak in it)?
should one be well versed with the IO package itself or what were the questions based on.
thanks in advance,
rag
22 years ago
i donot think anythin like that happened.
u can find the latest objectives list at
http://suned.sun.com/USA/certification/progobj.html#Java2

"for variables,private and static methods there is no dynamic binding.while executing the
statement for access of variables private method and static methods, only type of
reference is checked not the object that reference variable points to."
this might help you.
i feel that the a b c are correct.
I did read from tutorial (might be Baldwin's) and I remember that only run time polyporphism (overriding) is polymorphism.
But I donot agree with that since the polymorphism (having many forms) is implemented using both overloading and overriding.
a simple breakdown will surely help u:
y=x++
-------
can be broken down to :
y=x
x=x+1
==============
y=++x
-----
can be broken down to :
x=x+1
y=x(nothing but x+1)
this is the best explanation I found after many years of confusion
sun is releasing a new book for certification on Apr 15th by B.Andersen and since it is being published by Sun Microsystems, it should be an excellent replacement for all certification books.
Review from sun's site:
Coming Soon !
NEW CERTIFICATION SERIES:
PREMIERE EDITION!
Java 2 Platform
Sun Certified Programmer: Exam 310-025
by Bill Andersen
1200 pp (includes FREE CD-ROM!)
ISBN 0-13-014265-4
Available Summer 2000
Crucial and comprehensive information endorsed by Sun Educational Services on Sun's newly released and revised Java 2 Platform Programmer's exam. Sun Certified Programmers for Java is Sun Education Services' fastest growing market. The revised Java 2 Platform Programmer's exam has just been released. This book will be based on the revised test objectives that provides tips and hints based on the author's review of actual test questions. Includes concise review and explanation of key topics as well as sample test questions--this is not an exam cram!
only the information available to the superclass is available in such assignments.
the specialized info which the subclass contains is not accessible.
I think it is implicitly stated that a knowledge of conversions is a must. so it is imperative that u learn them.
bye
rag
AWT
can you explain the result of this code??
In the following applet, how many Buttons will be displayed?

1: import java.applet.*;
2: import java.awt.*;
3:
4: public class Q16 extends Applet
5: {
6: Button okButton = new Button("Ok");
7:
8: public void init()
9: {
10: add(okButton);
11: add(okButton);
12: add(okButton);
13: add(okButton);
14:
15: add(new Button("Cancel"));
16: add(new Button("Cancel"));
17: add(new Button("Cancel"));
18: add(new Button("Cancel"));
19:
20: setSize(300,300);
21: }
22: }
A) 1 Button with label "Ok" and 1 Button with label "Cancel" .
B) 1 Button with label "Ok" and 4 Buttons with label "Cancel" .
C) 4 Buttons with label "Ok" and 1 Button with label "Cancel" .
D) 4 Buttons with label "Ok" and 4 Buttons with label "Cancel" .

THE Answer is B.