Crenox

playVideo Program

Jan 19th, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. package samkough.main;
  2.  
  3. public class playVideo
  4. {
  5. public static void main(String args[])
  6. {
  7. playVideoTest pvt = new playVideoTest();
  8.  
  9. pvt.playVideo();
  10. System.out.println(" ");
  11.  
  12. pvt.pauseVideo();
  13. System.out.println(" ");
  14.  
  15. pvt.higherVolume();
  16. System.out.println(" ");
  17.  
  18. pvt.lowerVolume();
  19. System.out.println(" ");
  20.  
  21. pvt.changeQuality();
  22. System.out.println(" ");
  23.  
  24. pvt.changeScreenSize();
  25. System.out.println(" ");
  26. }
  27. }
  28.  
  29. ------------------------------------------------------------------------------------------------------------------
  30. package samkough.main;
  31.  
  32. public class playVideoTest
  33. {
  34. void playVideo()
  35. {
  36. System.out.println("Started up the video.");
  37. }
  38.  
  39. void pauseVideo()
  40. {
  41. System.out.println("Paused the video.");
  42. }
  43.  
  44. void higherVolume()
  45. {
  46. System.out.println("The volume has been highered.");
  47. }
  48.  
  49. void lowerVolume()
  50. {
  51. System.out.println("The volume has been lowered.");
  52. }
  53.  
  54. void changeQuality()
  55. {
  56. System.out.println("The quality has been changed.");
  57. }
  58.  
  59. void changeScreenSize()
  60. {
  61. System.out.println("The screen size has been changed.");
  62. }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment