Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Intro to java

613 views

Published on

A brief introduction to the Java programming language.

Published in: Education, Technology
  • Be the first to comment

Intro to java

  1. 1. Intro to
  2. 2. History
  3. 3. History Developed by James Gosling & team at Sun Microsystems
  4. 4. History Developed by James Gosling & team at Sun Microsystems First version released 1995
  5. 5. History Developed by James Gosling & team at Sun Microsystems First version released 1995 Built upon syntax of C and C++
  6. 6. History Developed by James Gosling & team at Sun Microsystems First version released 1995 Built upon syntax of C and C++ Designed to emphasize object- oriented programming while simplifying low-level processes
  7. 7. History Developed by James Gosling & team at Sun Microsystems First version released 1995 Built upon syntax of C and C++ Designed to emphasize object- oriented programming while simplifying low-level processes
  8. 8. Java Sightings
  9. 9. Java SightingsDesktop apps
  10. 10. Java SightingsDesktop appsWeb apps (applets & backends)
  11. 11. Java SightingsDesktop appsWeb apps (applets & backends)Mobile apps
  12. 12. Java SightingsDesktop appsWeb apps (applets & backends)Mobile apps
  13. 13. Java SightingsDesktop appsWeb apps (applets & backends)Mobile apps
  14. 14. Java SightingsDesktop appsWeb apps (applets & backends)Mobile apps
  15. 15. Pros & Cons
  16. 16. Pros & Cons✦ Portability
  17. 17. Pros & Cons✦ Portability✦ Multithreading
  18. 18. Pros & Cons✦ Portability✦ Multithreading✦ Small footprint (~40KB JAR file)
  19. 19. Pros & Cons✦ Portability✦ Multithreading✦ Small footprint (~40KB JAR file)✦ Automatic garbage collection
  20. 20. Pros & Cons✦ Portability ✦ Language limitations✦ Multithreading✦ Small footprint (~40KB JAR file)✦ Automatic garbage collection
  21. 21. Pros & Cons✦ Portability ✦ Language limitations✦ Multithreading ✦ Slower execution✦ Small footprint (~40KB JAR file)✦ Automatic garbage collection
  22. 22. Pros & Cons✦ Portability ✦ Language limitations✦ Multithreading ✦ Slower execution✦ Small footprint ✦ Uses more memory (~40KB JAR file)✦ Automatic garbage collection
  23. 23. Development
  24. 24. Development
  25. 25. Development
  26. 26. Development
  27. 27. Development
  28. 28. Development
  29. 29. DevelopmentWrite source code
  30. 30. DevelopmentWrite source Compile to bytecode & code execute with JVM
  31. 31. DevelopmentWrite source Compile to bytecode & Debug? code execute with JVM
  32. 32. Starter Terms
  33. 33. Starter Termssource code The code that you typebytecode The code created by the Java compiler and executed by the Java Virtual Machine.variable Named memory location needed to store information for later usemethod Named sequence of code (synonymous with function)return type/value When a method returns a value, the type refers to the type of information returned (e.g. int, String, etc.), and the value refers to the actual piece of information returned (e.g. -13, “Ramey”, etc.)call statement Code required to execute a method

×