Intro and Hello World/Java
From charlesreid1
Outline
Lecture material:
- History & Today
- Acronyms
- Characteristics
- Compiling
- Running
- Documentation
Material
Start with Java history
- Why Java was invented
- Inspiration came from universal "virtual machine" idea
- Location/companies/people
- Evolution of Java over time
Characteristics/Java Today
- Noun based object oriented programming language - everything is an object
- Programmers today have many more languages to choose from
- Java is a standby but important to know advantages and disadvantages
- Oracle owns the Java language
Aconyms Galore
- J2SE
- J2ME
- J2EE
- JVM
- JRE
Goodies
- What does Java come with? Huge and extensive API.
Compiling
- Java is a compiled language
- Compiling basic hello world program from command line
- Compiling basic hello world program from IDE
- Most people use IDE
- External libraries with Jar files, won't go into Java project management
Running
- Compiler converts Java code into universal Java bytecode, same on every device
- Java byecode is run by the JVM; JVM is different on each device
Documentation
- Oracle owns Java, meaning they control it, but Java source code has been released
- Oracle maintains control of Java source code, and maintains documentation for Java
- Catch-all place to go for information about Java
Computer Science notes on computer science topics on the wiki, for educational and learning purposes
Part of the 2017 CS Study Plan.
Python/Exceptions · Python/Assertions · Python/Decorators Python/Os (os module) · Python/Strings Python/Splat · Python/Iterators · Python/Generators Python/Comparators · Python/Lambdas
Builtin features of Java: Java/Exceptions · Java/Assertions · Java/Memory · Java/Interfaces Java/Generics · Java/Decorators · Java/Diamond Notation Java/Iterators · Java/Iterable · Iterators vs Iterable Java/Comparators · Java/Comparable · Comparators vs Comparable Java/Numeric · Java/TypeChecking · Java/Testing · Java/Timing · Java/Profiling Documentation: Javadocs · Java/Documentation Tools and functionality: Java/URLs · Java/CSV External libraries: Guava · Fastutil · Eclipse Collections OOP: OOP Checklist · Java/Abstract Class · Java/Encapsulation · Java/Generics
|
See also: