home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 3
/
AACD03.BIN
/
AACD
/
Programming
/
sofa
/
archive
/
SmallEiffel.lha
/
SmallEiffel
/
lib_show
/
cecil
/
JVM
/
Example2.java
< prev
next >
Wrap
Text File
|
1999-06-05
|
593b
|
31 lines
import root2._any;
import root2.root2;
import root2.string;
public class Example2 {
/* To run this example, procede like this :
compile_to_jvm root2
javac Example2.java
java Example2
*/
public static void main(String[] args) {
root2 root;
string eiffel_string;
/* To initialize the Eiffel runtime :
*/
_any._initialize_eiffel_runtime(args);
/* Creation of the root object :
*/
root = new root2();
eiffel_string = (string)(root.get_string());
root.put_string(eiffel_string);
}
}