Advertisement
Guest User

Untitled

a guest
Apr 16th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.87 KB | None | 0 0
  1.  
  2. /**
  3. * @Author Zoovy
  4. **/
  5.  
  6. import java.util.Scanner;
  7. import java.util.Random;
  8. public class Main {
  9. @SuppressWarnings("resource")
  10. public static void main(String args[]) {
  11. Scanner Scanner;
  12. Random Random;
  13. Random rand = new Random();
  14. Scanner = new Scanner(System.in);
  15. int i = 1;
  16. int c = 0;
  17. String[] $table = {"1", "2", "3"};
  18. int $x = rand.nextInt(3);
  19. boolean one = true;
  20. boolean two = false;
  21. if ((one != false) && (two != true)) {
  22. if (i == 1) {
  23. try {
  24. Thread.sleep(1000);
  25. System.out.println("[✓] Loading Assets...");
  26. Thread.sleep(4000);
  27. System.out.println("[✓] Please Enter your Product Key.");
  28. Thread.sleep(1000);
  29. System.out.print(">"); String $PK = Scanner.next();
  30. if ($PK.equals("78772777")) {
  31. if ((one != false) && (two != true)) {
  32. System.out.println("[?] Checking your Product Key...");
  33. Thread.sleep(4000);
  34. Start();
  35. }
  36. } else {
  37. System.out.println("[?] Checking your Product Key...");
  38. Thread.sleep(4000);
  39. System.out.println("[✗] The Product Key you Entered is Invalid");
  40. Quit();
  41. }
  42. } catch (InterruptedException ex) {
  43. System.out.println(" ");
  44. }
  45. }
  46. }
  47. }
  48. public static void Start() {
  49. Scanner Scanner;
  50. Scanner = new Scanner(System.in);
  51. boolean one = true;
  52. boolean two = false;
  53. int i = 1;
  54. if (i == 1) {
  55. try {
  56. System.out.println("[✓] The Product Key you Entered is Valid");
  57. Thread.sleep(1000);
  58. System.out.println("[?] Was this not your Product key? if Not, Please type return, if this is your Product key, Please Type continue");
  59. Thread.sleep(1000);
  60. System.out.print(">"); String $return = Scanner.next();
  61. if ($return.equals("return")) {
  62. if ((one != false) && (two != true)) {
  63. Return();
  64. }
  65. } else {
  66. Thread.sleep(1000);
  67. System.out.println("[✓] Loading Assets...");
  68. Thread.sleep(4000);
  69. System.out.println("[?] Credentials Detected...");
  70. Thread.sleep(1000);
  71. System.out.println("[✓] Please Enter Your Username");
  72. Thread.sleep(1000);
  73. }
  74. System.out.print("C:/>"); String $user = Scanner.next();
  75. if ($user.equals("admin")) {
  76. if ((one != false) && (two != true)) {
  77. System.out.println("[?] Checking Credentials...");
  78. Thread.sleep(4000);
  79. System.out.println("[✓] Please Enter Your Password");
  80. Thread.sleep(1000);
  81. System.out.print("C:/>"); String $pass = Scanner.next();
  82. if ($pass.equals("admin")) {
  83. if ((one != false) && (two != true)) {
  84. System.out.println("[?] Checking Credentials...");
  85. Thread.sleep(4000);
  86. System.out.println("[✓] Welcome back " + $user); // MAIN PAGE
  87. Thread.sleep(1000);
  88. System.out.println("[✓] Loading Assets...");
  89. Thread.sleep(4000);
  90. System.out.print("Z");
  91. Thread.sleep(300);
  92. System.out.print("o");
  93. Thread.sleep(300);
  94. System.out.print("o");
  95. Thread.sleep(300);
  96. System.out.print("v");
  97. Thread.sleep(300);
  98. System.out.print("y");
  99. Thread.sleep(300);
  100. System.out.print(" ");
  101. Thread.sleep(300);
  102. System.out.print("D");
  103. Thread.sleep(300);
  104. System.out.print("O");
  105. Thread.sleep(300);
  106. System.out.print("S");
  107. Thread.sleep(300);
  108. System.out.print(" ");
  109. Thread.sleep(300);
  110. System.out.print("W");
  111. Thread.sleep(300);
  112. System.out.print("e");
  113. Thread.sleep(300);
  114. System.out.print("l");
  115. Thread.sleep(300);
  116. System.out.print("c");
  117. Thread.sleep(300);
  118. System.out.print("o");
  119. Thread.sleep(300);
  120. System.out.print("m");
  121. Thread.sleep(300);
  122. System.out.print("e");
  123. Thread.sleep(300);
  124. System.out.println("!");
  125. Thread.sleep(1000);
  126. System.out.println("[✓] Loading Assets...");
  127. Thread.sleep(4000);
  128. System.out.println("[?] Need Some Help? type help");
  129. Thread.sleep(1000);
  130. System.out.print("C:/>"); String $command = Scanner.next();
  131. if ($command.equals("reset")) {
  132. if ((one != false) && (two != true)) {
  133. Reset();
  134. }
  135. }
  136. if ($command.equals("HT")) {
  137. if ((one != false) && (two != true)) {
  138. HeadTail();
  139. }
  140. }
  141. if ($command.equals("calculator")) {
  142. if ((one != false) && (two != true)) {
  143. Calculator();
  144. }
  145. }
  146. if ($command.equals("about")) {
  147. if ((one != false) && (two != true)) {
  148. Thread.sleep(1000);
  149. System.out.println("[✓] Loading Assets...");
  150. Thread.sleep(4000);
  151. System.out.println("About Memphis DoS:");
  152. Thread.sleep(1000);
  153. System.out.println("Memphis DoS was Created by Zoovy in an attempt to make it easier for users to Understand DoS, with a User Friendly Interface.");
  154. Thread.sleep(1000);
  155. Start2();
  156. }
  157. }
  158. if ($command.equals("version")) {
  159. if ((one != false) && (two != true)) {
  160. Thread.sleep(1000);
  161. System.out.println("[✓] Loading Version...");
  162. Thread.sleep(4000);
  163. System.out.println("Memphis DoS 1");
  164. Thread.sleep(4000);
  165. Start2();
  166. }
  167. }
  168. if ($command.equals("help")) {
  169. if ((one != false) && (two != true)) {
  170. Help();
  171. }
  172. }
  173. if ($command.equals("clear")) {
  174. if ((one != false) && (two != true)) {
  175. Thread.sleep(1000);
  176. System.out.println("[!] Warning! You are about to clear Console, would you still like to proceed? [yes] [no]");
  177. String $yn = Scanner.next();
  178. if ($yn.equals("yes")) {
  179. if ((one != false) && (two != true)) {
  180. Thread.sleep(4000);
  181. System.out.println("[BETA] Console has been Cleared");
  182. Thread.sleep(1000);
  183. Start2();
  184. }
  185. }
  186. if ($yn.equals("no")) {
  187. if ((one != false) && (two != true)) {
  188. Start2();
  189. }
  190. }
  191. } // end of this if statement
  192. }
  193. }
  194. } else {
  195. System.out.println("[?] Checking Credentials...");
  196. Thread.sleep(4000);
  197. System.out.println("[✗] Invalid Password!");
  198. Quit();
  199. }
  200. }
  201. } else {
  202. System.out.println("[✓] Checking Credentials...");
  203. Thread.sleep(4000);
  204. System.out.println("[✗] Invalid Username!");
  205. Quit();
  206. }
  207. } catch (InterruptedException ex) {
  208. System.out.println(" ");
  209. }
  210. }
  211. } // end of Start Void
  212. public static void Return() {
  213. Scanner Scanner;
  214. Random Random;
  215. Random rand = new Random();
  216. Scanner = new Scanner(System.in);
  217. int i = 1;
  218. int c = 0;
  219. String[] $table = {"1", "2", "3"};
  220. int $x = rand.nextInt(3);
  221. boolean one = true;
  222. boolean two = false;
  223. if ((one != false) && (two != true)) {
  224. if (i == 1) {
  225. try {
  226. Thread.sleep(1000);
  227. System.out.println("[✓] Loading Assets...");
  228. Thread.sleep(4000);
  229. System.out.println("[✓] Please Enter your Product Key.");
  230. String $PK = Scanner.next();
  231. if ($PK.equals("78772777")) {
  232. if ((one != false) && (two != true)) {
  233. System.out.println("[?] Checking your Product Key...");
  234. Thread.sleep(4000);
  235. Start();
  236. }
  237. } else {
  238. System.out.println("[?] Checking your Product Key...");
  239. Thread.sleep(4000);
  240. System.out.println("[✗] The Product Key you Entered is Invalid");
  241. }
  242. } catch (InterruptedException ex) {
  243. System.out.println(" ");
  244. }
  245. }
  246. }
  247. } // end of Return Void
  248. public static void Help() {
  249. boolean one = true;
  250. boolean two = false;
  251. Scanner Scanner;
  252. Scanner = new Scanner(System.in);
  253. int i = 1;
  254. if (i == 1) {
  255. if ((one != false) && (two != true)) {
  256. try {
  257. Thread.sleep(1000);
  258. System.out.println("[✓] Loading Assets...");
  259. Thread.sleep(4000);
  260. System.out.println("[✓] Welcome to the Help Menu. To Return, Please Type return");
  261. Thread.sleep(2000);
  262. System.out.println("[✓] Showing Commands...");
  263. Thread.sleep(1000);
  264. System.out.println("- clear >> Clears the Console leaving the console blank");
  265. Thread.sleep(200);
  266. System.out.println("- version >> Shows the Current Version of This DoS Operating System");
  267. Thread.sleep(200);
  268. System.out.println("- about >> About Memphis DoS");
  269. Thread.sleep(200);
  270. System.out.println("- calculator >> Basic Calculator with a Friendly Interface");
  271. Thread.sleep(200);
  272. System.out.println("- HT >> Heads or Tails, Makes it Easy to Resolve Arguements");
  273. Thread.sleep(200);
  274. System.out.println("- reset >> Resets DoS");
  275. Thread.sleep(200);
  276. System.out.println("[!] IMPORTANT! >> Please type return before typing a command");
  277. String $return = Scanner.next();
  278. if ($return.equals("return")) {
  279. if ((one != false) && (two != true)) {
  280. Start2();
  281. }
  282. }
  283. } catch (InterruptedException ex) {
  284. System.out.println(" ");
  285. }
  286. }
  287. }
  288. } // end of Help Void
  289. public static void Start2() {
  290. Scanner Scanner;
  291. Scanner = new Scanner(System.in);
  292. int i = 1;
  293. boolean one = true;
  294. boolean two = false;
  295. if (i == 1) {
  296. if ((one != false) && (two != true)) {
  297. try {
  298. System.out.println("[✓] Loading Assets...");
  299. Thread.sleep(4000);
  300. System.out.print("Z");
  301. Thread.sleep(300);
  302. System.out.print("o");
  303. Thread.sleep(300);
  304. System.out.print("o");
  305. Thread.sleep(300);
  306. System.out.print("v");
  307. Thread.sleep(300);
  308. System.out.print("y");
  309. Thread.sleep(300);
  310. System.out.print(" ");
  311. Thread.sleep(300);
  312. System.out.print("D");
  313. Thread.sleep(300);
  314. System.out.print("O");
  315. Thread.sleep(300);
  316. System.out.print("S");
  317. Thread.sleep(300);
  318. System.out.print(" ");
  319. Thread.sleep(300);
  320. System.out.print("W");
  321. Thread.sleep(300);
  322. System.out.print("e");
  323. Thread.sleep(300);
  324. System.out.print("l");
  325. Thread.sleep(300);
  326. System.out.print("c");
  327. Thread.sleep(300);
  328. System.out.print("o");
  329. Thread.sleep(300);
  330. System.out.print("m");
  331. Thread.sleep(300);
  332. System.out.print("e");
  333. Thread.sleep(300);
  334. System.out.println("!");
  335. Thread.sleep(1000);
  336. System.out.println("[✓] Loading Assets...");
  337. Thread.sleep(4000);
  338. System.out.println("[?] Need Some Help? type help");
  339. String $command = Scanner.next();
  340. if ($command.equals("reset")) {
  341. if ((one != false) && (two != true)) {
  342. Reset();
  343. }
  344. }
  345. if ($command.equals("HT")) {
  346. if ((one != false) && (two != true)) {
  347. HeadTail();
  348. }
  349. }
  350. if ($command.equals("calculator")) {
  351. if ((one != false) && (two != true)) {
  352. Calculator();
  353. }
  354. }
  355. if ($command.equals("about")) {
  356. if ((one != false) && (two != true)) {
  357. Thread.sleep(1000);
  358. System.out.println("[✓] Loading Assets...");
  359. Thread.sleep(4000);
  360. System.out.println("About Memphis DoS:");
  361. Thread.sleep(1000);
  362. System.out.println("Memphis DoS was Created by Zoovy in an attempt to make it easier for users to Understand DoS, with a User Friendly Interface.");
  363. Thread.sleep(1000);
  364. Start2();
  365. }
  366. }
  367. if ($command.equals("help")) {
  368. if ((one != false) && (two != true)) {
  369. Help();
  370. }
  371. }
  372. if ($command.equals("clear")) {
  373. if ((one != false) && (two != true)) {
  374. Thread.sleep(1000);
  375. System.out.println("[!] Warning! You are about to clear console, would you still like to proceed? [yes] [no]");
  376. String $yn = Scanner.next();
  377. if ($yn.equals("yes")) {
  378. if ((one != false) && (two != true)) {
  379. Thread.sleep(4000);
  380. System.out.print("\033[H\033[2J");
  381. System.out.flush();
  382. System.out.println("[BETA] Console has been Cleared");
  383. Thread.sleep(1000);
  384. Start2();
  385. }
  386. }
  387. if ($yn.equals("no")) {
  388. if ((one != false) && (two != true)) {
  389. Start2();
  390. }
  391. }
  392. }
  393. } // end of this if statement
  394. if ($command.equals("version")) {
  395. if ((one != false) && (two != true)) {
  396. Thread.sleep(1000);
  397. System.out.println("[✓] Loading Version...");
  398. Thread.sleep(4000);
  399. System.out.println("Memphis DoS 1");
  400. Thread.sleep(4000);
  401. Start2();
  402. }
  403. }
  404. } catch (InterruptedException ex) {
  405. System.out.println(" ");
  406. }
  407. }
  408. }
  409. } // end of Start2 Void
  410. public static void Quit() {
  411. int i = 1;
  412. boolean one = true;
  413. boolean two = false;
  414. if (i == 1) {
  415. if ((one != false) && (two != true)) {
  416. try {
  417. Thread.sleep(4000);
  418. System.out.println("[✓] Shutting down...");
  419. Thread.sleep(4000);
  420. } catch (InterruptedException ex) {
  421. System.out.println(" ");
  422. }
  423. }
  424. }
  425. } // end of Quit Void
  426. public static void Calculator() {
  427. Scanner Scanner;
  428. Scanner = new Scanner(System.in);
  429. boolean one = true;
  430. boolean two = false;
  431. int i = 1;
  432. if (i == 1) {
  433. if ((one != false) && (two != true)) {
  434. try {
  435. Thread.sleep(1000);
  436. System.out.println("[✓] Loading Assets...");
  437. Thread.sleep(4000);
  438. System.out.println("[CALC] Please Enter your First Number");
  439. int $1n = Scanner.nextInt();
  440. Thread.sleep(1000);
  441. System.out.println("[CALC] Please Enter your Second Number");
  442. int $2n = Scanner.nextInt();
  443. Thread.sleep(1000);
  444. System.out.println("[CALC] Please Choose the Form of Operation Excluding the Brackets. [+] [-] [*] [/]");
  445. String $op = Scanner.next();
  446. if ($op.equals("+")) {
  447. if ((one != false) && (two != true)) {
  448. Thread.sleep(1000);
  449. System.out.println("[CALC] Calculating...");
  450. Thread.sleep(2500);
  451. System.out.print("[CALC] ");
  452. System.out.println($1n + $2n);
  453. Thread.sleep(4000);
  454. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  455. String $yn = Scanner.next();
  456. if ($yn.equals("yes")) {
  457. if ((one != false) && (two != true)) {
  458. Calculator();
  459. }
  460. }
  461. if ($yn.equals("no")) {
  462. if ((one != false) && (two != true)) {
  463. Start2();
  464. }
  465. }
  466. }
  467. }
  468. if ($op.equals("-")) {
  469. if ((one != false) && (two != true)) {
  470. Thread.sleep(1000);
  471. System.out.println("[CALC] Calculating...");
  472. Thread.sleep(2500);
  473. System.out.print("[CALC] ");
  474. System.out.println($1n - $2n);
  475. Thread.sleep(4000);
  476. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  477. String $yn2 = Scanner.next();
  478. if ($yn2.equals("yes")) {
  479. if ((one != false) && (two != true)) {
  480. Calculator();
  481. }
  482. }
  483. if ($yn2.equals("no")) {
  484. if ((one != false) && (two != true)) {
  485. Start2();
  486. }
  487. }
  488. }
  489. }
  490. if ($op.equals("*")) {
  491. if ((one != false) && (two != true)) {
  492. Thread.sleep(1000);
  493. System.out.println("[CALC] Calculating...");
  494. Thread.sleep(2500);
  495. System.out.print("[CALC] ");
  496. System.out.println($1n * $2n);
  497. Thread.sleep(4000);
  498. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  499. String $yn3 = Scanner.next();
  500. if ($yn3.equals("yes")) {
  501. if ((one != false) && (two != true)) {
  502. Calculator();
  503. }
  504. }
  505. if ($yn3.equals("no")) {
  506. if ((one != false) && (two != true)) {
  507. Start2();
  508. }
  509. }
  510. }
  511. }
  512. if ($op.equals("/")) {
  513. if ((one != false) && (two != true)) {
  514. Thread.sleep(1000);
  515. System.out.println("[CALC] Calculating...");
  516. Thread.sleep(2500);
  517. System.out.print("[CALC] ");
  518. System.out.println($1n / $2n);
  519. Thread.sleep(4000);
  520. System.out.println("[CALC] Would you like to make another Calculation? [yes] [no]");
  521. String $yn4 = Scanner.next();
  522. if ($yn4.equals("yes")) {
  523. if ((one != false) && (two != true)) {
  524. Calculator();
  525. }
  526. }
  527. if ($yn4.equals("no")) {
  528. if ((one != false) && (two != true)) {
  529. Start2();
  530. }
  531. }
  532. }
  533. }
  534. } catch (InterruptedException ex) {
  535. System.out.println(" ");
  536. }
  537. }
  538. }
  539. } // end of Calculator Void
  540. public static void HeadTail() {
  541. Random Random;
  542. Scanner Scanner;
  543. Random rand = new Random();
  544. Scanner = new Scanner(System.in);
  545. boolean one = true;
  546. boolean two = false;
  547. String[] $table = {"Heads", "Tails"};
  548. int $x = rand.nextInt(2);
  549. int i = 1;
  550. if (i == 1) {
  551. if ((one != false) && (two != true)) {
  552. try {
  553. Thread.sleep(1000);
  554. System.out.println("[✓] Loading Assets...");
  555. Thread.sleep(4000);
  556. System.out.println("[HT] Heads or Tails? Want to Flip a Coin? [Yes] [No] Excluding Brackets");
  557. String $yn = Scanner.next();
  558. if ($yn.equals("yes")) {
  559. if ((one != false) && (two != true)) {
  560. Thread.sleep(1000);
  561. System.out.println("[HT] Flipping...");
  562. Thread.sleep(2500);
  563. System.out.println("[HT] " + $table[$x]);
  564. Thread.sleep(1000);
  565. System.out.println("[HT] Would you like to flip another coin? [yes] [no] Excluding Brackets");
  566. String $choice = Scanner.next();
  567. if ($choice.equals("yes")) {
  568. if ((one != false) && (two != true)) {
  569. HeadTail2();
  570. }
  571. }
  572. if ($choice.equals("no")) {
  573. if ((one != false) && (two != true)) {
  574. Thread.sleep(1000);
  575. System.out.println("[HT] Quitting...");
  576. Thread.sleep(4000);
  577. Start2();
  578. }
  579. }
  580. }
  581. }
  582. if ($yn.equals("no")) {
  583. if ((one != false) && (two != true)) {
  584. Thread.sleep(1000);
  585. System.out.println("[HT] Quitting...");
  586. Thread.sleep(4000);
  587. Start2();
  588. }
  589. }
  590. } catch (InterruptedException ex) {
  591. System.out.println(" ");
  592. }
  593. }
  594. }
  595. } // end of HeadTail Void
  596. public static void HeadTail2() {
  597. Scanner Scanner;
  598. Random Random;
  599. Scanner = new Scanner(System.in);
  600. Random rand = new Random();
  601. boolean one = true;
  602. boolean two = false;
  603. int i = 1;
  604. String[] $table = {"Heads", "Tails"};
  605. int $x = rand.nextInt(2);
  606. if (i == 1) {
  607. if ((one != false) && (two != true)) {
  608. try {
  609. System.out.println("[HT] Flipping...");
  610. Thread.sleep(2500);
  611. System.out.println("[HT] " + $table[$x]);
  612. Thread.sleep(1000);
  613. System.out.println("[HT] Would you like to flip another coin? [yes] [no] Excluding Brackets");
  614. String $choice = Scanner.next();
  615. if ($choice.equals("yes")) {
  616. if ((one != false) && (two != true)) {
  617. HeadTail2();
  618. }
  619. }
  620. if ($choice.equals("no")) {
  621. if ((one != false) && (two != true)) {
  622. Thread.sleep(1000);
  623. System.out.println("[HT] Quitting...");
  624. Thread.sleep(4000);
  625. Start2();
  626. }
  627. }
  628. } catch (InterruptedException ex) {
  629. System.out.println(" ");
  630. }
  631. }
  632. }
  633. } // end of HeadTail2 Void
  634. public static void Convert() {
  635. Scanner Scanner;
  636. Scanner = new Scanner(System.in);
  637. int i = 1;
  638. boolean one = true;
  639. boolean two = false;
  640. if (i == 1) {
  641. if ((one != false) && (two != true)) {
  642. try {
  643. Thread.sleep(1000);
  644. System.out.println("[✓] Loading Assets...");
  645. Thread.sleep(4000);
  646. } catch (InterruptedException ex) {
  647. System.out.println(" ");
  648. }
  649. }
  650. }
  651. } // end of Convert Void
  652. public static void Reset() {
  653. Scanner Scanner;
  654. Scanner = new Scanner(System.in);
  655. int i = 1;
  656. boolean one = true;
  657. boolean two = false;
  658. if (i == 1) {
  659. if ((one != false) && (two != true)) {
  660. try {
  661. Thread.sleep(1000);
  662. System.out.println("[✓] Loading Assets...");
  663. Thread.sleep(4000);
  664. System.out.println("[!] WARNING! You are about to loose all of your Data! Would you still like to Continue? [yes] [no] Excluding Brackets");
  665. String $choice = Scanner.next();
  666. if ($choice.equals("yes")) {
  667. if ((one != false) && (two != true)) {
  668. Thread.sleep(1000);
  669. System.out.println("[✓] Restarting...");
  670. Thread.sleep(7000);
  671. Main2();
  672. }
  673. }
  674. if ($choice.equals("no")) {
  675. if ((one != false) && (two != true)) {
  676. Thread.sleep(1000);
  677. Start2();
  678. }
  679. }
  680. } catch (InterruptedException ex) {
  681. System.out.println(" ");
  682. } finally {
  683. // Possible Handle Errors
  684. }
  685. }
  686. }
  687. } // end of Reset Void
  688. public static void Main2() {
  689. Scanner Scanner;
  690. Random Random;
  691. Random rand = new Random();
  692. Scanner = new Scanner(System.in);
  693. int i = 1;
  694. int c = 0;
  695. String[] $table = {"1", "2", "3"};
  696. int $x = rand.nextInt(3);
  697. boolean one = true;
  698. boolean two = false;
  699. if ((one != false) && (two != true)) {
  700. if (i == 1) {
  701. try {
  702. Thread.sleep(1000);
  703. System.out.println("[✓] Loading Assets...");
  704. Thread.sleep(4000);
  705. System.out.println("[✓] Please Enter your Product Key.");
  706. String $PK = Scanner.next();
  707. if ($PK.equals("78772777")) {
  708. if ((one != false) && (two != true)) {
  709. System.out.println("[?] Checking your Product Key...");
  710. Thread.sleep(4000);
  711. Start();
  712. }
  713. } else {
  714. System.out.println("[?] Checking your Product Key...");
  715. Thread.sleep(4000);
  716. System.out.println("[✗] The Product Key you Entered is Invalid");
  717. Quit();
  718. }
  719. } catch (InterruptedException ex) {
  720. System.out.println(" ");
  721. }
  722. }
  723. }
  724. } // end of Main2 Void
  725. public static void Write() {
  726. Scanner Scanner;
  727. Scanner = new Scanner(System.in);
  728. int i = 1;
  729. boolean one = true;
  730. boolean two = false;
  731. if (i == 1) {
  732. if ((one != false) && (two != true)) {
  733. try {
  734. Thread.sleep(1000);
  735. } catch (InterruptedException ex) {
  736. System.out.println(" ");
  737. } finally {
  738.  
  739. }
  740. }
  741. }
  742. } // end of Write void
  743. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement