Guest User

Untitled

a guest
Jun 25th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.61 KB | None | 0 0
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5.  
  6. import javax.microedition.midlet.*;
  7. import javax.microedition.lcdui.*;
  8. import java.io.*;
  9. import javax.microedition.io.*;
  10.  
  11. /**
  12.  * @author Игорь
  13.  */
  14. public class remains2 extends MIDlet {
  15.     public void startApp() {
  16.         Test test = new Test();
  17.         test.vivodstr();
  18.     }
  19.  
  20.     public void pauseApp() {
  21.     }
  22.  
  23.     public void destroyApp(boolean unconditional) {
  24.     }
  25. }
  26.  
  27. class Test
  28. {
  29.     String text = "Hello, i proc!";
  30. public void vivodstr()
  31. {
  32.     System.out.print(text);
  33. }
  34.  
  35. }
Add Comment
Please, Sign In to add comment