Say I've a code like:
import java.util.Date;
import my.own.Date;
class Test{
public static void main(String [] args){
// I want to choose my.own.Date here. How?
..
// I want to choose util.Date here. How ?
}
}
Should I be full qualified class names? Can I get rid of the import statements? Is such a scenario common in real world programming?