Results 1 to 5 of 5
Thread: Hi! Pls help me with this
- 03-03-2008, 12:47 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 1
- Rep Power
- 0
Hi! Pls help me with this
Hi Everybody!
I'm just a newbie here at Java forums as well as I'm just also learning Java right now.
Do you know resources online or books as my reference while I'm just learning java.
Also, Can you help me with this?? Thank you very much.. Any suggestions??
package com.jds.architecture.utilities;
/**
* Validation strategy object used to determine if the class types of two argument
* objects are the same, using the Object.getClass() method.
*
* The overriden method <code>validate(Object target)</code> accepts an array of 2
* Objects to represent the objects to be validated. Any other elements of the array
* will be ignored. RuntimeExceptions will be thrown when any other argument is passed to
* the method.
*
* Classes that implement the <code>ValidationStrategy</code> interface should be
* passed to <code>Validator</code> objects via their constructor or to the
* <code>Validator.validate(ValidationStrategy, Object)</code> method
*
*
* @author Eugene P. Lozada, Arthur D. Gerona
* @see Validator
* @see ValidationStrategy
*/
public class ClassTypeIsSame implements ValidationStrategy {
/**
* Determines if the pair of objects contained in the array is of the same class
*
* @param target array of objects. The array can contain nulls.
* @return returns true if the objects contained in the array are ofthe same class,
* false otherwise
*
*/
public boolean validate(Object target) {
//Get arguments arra
return false;
}
}
- 03-03-2008, 08:16 PM #2
i suggest that you start the java learning from the place wehere java was born i mean Sun Microsystems website and Sun Microsystems courses
this's my advice you start with the certification :
SCJA
you can read more about java training sun website
Sun Microsystems
- 03-04-2008, 02:20 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yes, best place to start with Java is the suns' official web site. Lots of tutorials, working examples and many more available there.
Not only that, just Google. You can find lot of other resources as well.
- 03-06-2008, 10:48 AM #4
Member
- Join Date
- Nov 2007
- Posts
- 11
- Rep Power
- 0
My two cents -
There is a site called javapassion.com root page run by a Java evangelist.
In my opinion that is the best place to start learning Java.
- 03-08-2008, 05:54 PM #5
Sun's tutorials which have been posted on this forum countless times, are a fantastic online reference- they are after all, from the source- Sun.
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks