Al Shiferaw

Greenhorn
+ Follow
since Apr 23, 2001
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 Al Shiferaw

Originally posted by Ajith Kallambella:
Yes,both SAX and XMLSchema are covered in the exam.


Thanks!

Originally posted by Ajith Kallambella:
Yes,both SAX and XMLSchema are covered in the exam.


Thanks!
I know that DOM and DTD are sure covered but I would like to know if
SAX and XML schema
are part of the objectives in the IBM XML exams. The IBM page hardly mentions it.
Al Shiferaw
I know that DOM and DTD are sure covered but I would like to know if
SAX and XML schema
are part of the objectives in the IBM XML exams. The IBM page hardly mentions it.
Al Shiferaw
THANK YOU!.

Originally posted by Cindy Glass:
When a class is loaded but before any instances are created, the static variables are created. If those variables can be initialized using simple assignments, then you really DON'T need static initializer blocks. But what if you have to do some complex logic in order to figure out what the value of those variables should be? You can't use for( ) or while( ) logic in an assignment statement.
If you put the logic in a static method, then you run the chance that someone will try to USE it after class load time - that could be a problem. If the logic is in a static initializer, then it only gets executed ONE time.
As for interface variables, take a look as interface SwingConstants. It declares all sorts of fields to hold values that represent North, South, top, bottom, vertical, horizontal, etc. You know, widget or component sorts of things. LOTS of components implement the SwingConstants interface and all of them can use the same North field value to manipulate their particular components, without redefining all those fields. It also helps to know that the fields available and their spelling will be consistant across components.


I am apolgoize if this is a obvious but I just don't see what the beneif for Static Code blocks. Why would like need this feature for. I also have the same issue with interface variables. I just would like someone to give me a real life examples so I can understand the concept.
Is there a case when I MUST declare an exception when overriding a method. I believe I read about this issue once but I don't seem to remember. Please clarify.

Originally posted by Mikael Jonasson:
Overriding can't throw anything that the superclass version of the function doesn't allow. Overloading is basicly making a whole new function, so you're free to what you want (as long as the overloading function isn't an overridning function too. If so, then the normal rules for overrinding apply).
/Mike


Can someone please explain to me how Exceptions are related to Overriding and Overloading. Primarily, I would like to know when I need to provide an exception when overriding/overloading.
I am looking for someone or a group to study for the Programmer certificaiton. I live in Minneapolis/Saint Paul, Minnesota. If you are serious and want to take the exam in the next 3 month, please let me know.