Biblioteca Java - Diff between revs 4 and 39
Subversion Repositories:
Rev 4 | Rev 39 | |||
---|---|---|---|---|
Line 1... | Line -... | |||
1 | package inroducere.java.operator; | - | ||
- | 1 | package introducere.java.operator; | ||
2 | 2 | |||
3 | /** | 3 | /** | |
4 | * The instanceof operator compares an object to a specified type. | 4 | * The instanceof operator compares an object to a specified type. | |
5 | * You can use it to test if an object is an instance of a class, | 5 | * You can use it to test if an object is an instance of a class, | |
6 | * an instance of a subclass, or an instance of a class that implements a | 6 | * an instance of a subclass, or an instance of a class that implements a |