Erin Waite

Greenhorn
+ Follow
since Jan 24, 2002
Merit badge: grant badges
For More
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 Erin Waite

Hi Macha,
The answer d of your first question in my book is
d) The value returned by >>> will never be negative as long as the value of the right operand is not divisible by 32.
So the answer d is correct.
The answer a of your second question in my book is
a) _class
So the answer a is also correct.

Thanks,

Erin

Hi Dilip,
Thanks you very much.

Erin
Hi, Sunita

A class defined inside an interface is implicitly static. To access the class b in the your code, simply write
b objb = new b();
Corrrect me if I'm wrong please.
Thanks,
Hi,
The answer is yes.
Hi,kingsley
I think the answer is false. The range of weightx and weighty is non-negative double.

Originally posted by kingsley:
Please tell me in boolean from exam point of view...
True or false?


I think the answers a, b, c and e are correct.
d is incrrect because a frame is a top-level window and a top-level window cannot be incorporated into other components.
e is correct because a menu-bar can be attached to a Frame object which is a container, a menu-bar can contain pull-down menus and MenuItem objects can be added to menus.

Originally posted by VR:
Which of the following may container can have?
a. container
b. component
c. applet
d. frame
e. menuItem