History of Java:
• 1991--Stealth Project for consumer electronics market (later Green Project) Language called Oak then renamed to Java.
• 1995--Sun Microsystems released the first public implementation as Java 1.0 .
• 2004—J2SE 5.0 release
• 2006--Java SE 6 release
• 2011--Java SE 7 release
Whats Java?
• Java is an object-oriented programming language.
• Java is a platform that executes Java-based programs.
– JRE installed on the device
– Just-in-Time complier
Automatic Memory Management
Java uses an automatic garbage collector to manage memory in the object lifecycle.
- Find data objects in a program that cannot be accessed in the future
- Reclaim the resources used by those objects
Java Technology consists of:
- Java Language: used to develop software for mobile devices, browser-run applets, games, desktop, enterprise (server-side), and scientific applications
- Java Platform: consists of Java Virtual Machine (JVM) responsible for hardware abstraction
- Java Tools: like java compiler