Don Retag

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

Recent posts by Don Retag

Originally posted by Akshay Kiran:
[CODE]Maybe I had overlooked it so long, but does the constructor of a subclass call the constructors of all the superclasses?



Correct. For the default () contructor, the constructer of the superclasses execute first, before the constructer of the class.
I think I/O was added back in because of the new formatting classes.

What I am really interested is what does 1.5 not cover. It will save me time by not having to read those chapters.
options 4) and 5) are mutually exclusive with options 1) 2) 3). If either one is true, the other is false. For class-level inner-classes, not method local inner classes, the class has full access to final and instance variables.
Here is the output lined up:

B b = new B();
A a = new A();
a.eating(b); ==> Eating A
b.eating(b); ==> Eating B
b.running(); ==> Running B

Object 'a' is of type A. Therefore the method os the superclass is classed.
'a' is not of type B.
The new topics in 1.5 have been discussed, but very little mention about what has gone away in the new version. From a previous post, here is what I found:

- bit shifting
- Math class
- keywords

Are these correct, and is there anything more?
Will the exam still tell you how many options to choose from? Something like Please select 2 answers

Also, 175 minutes?!? Wow, this exam is extremely long.

How does drag-n-drop work on these exams?