java, is there a way we can import a class under another name

is there a way we can import a class under another name? Like if i have a class called javax.C and another class called java.C i can import javax.C under the name C1 and import java.C under the name C2.

We can do something like this in C#:

using Sys=System;

or Vb:

Imports Sys=System
38
задан Pacerier 24 April 2011 в 00:27
поделиться