Oracle Certification Associate 1Z0-808: Difference between revisions
From My Limbic Wiki
(→Basics) |
|||
Line 34: | Line 34: | ||
<source lang="Java"> | <source lang="Java"> | ||
// Single Line Comment | // Single Line Comment | ||
/* | /* | ||
Multi Line Comment | Multi Line Comment | ||
*/ | */ | ||
/** | /** | ||
* Java Doc Comment | * Java Doc Comment | ||
* @param | |||
* @return | |||
*/ | */ | ||
</source> | </source> |
Revision as of 16:36, 4 June 2020
Links
Installation
Windows
<source lang="Shell"> C:\Program Files\Java </source>
- Java Se Development Kit 8
- Java FX SDK
- Private JRE - Java Runtime Edition
- Java Mission Control Tools
Can also be installed:
- Development Tools
- Source Code
- Public JRE
Linux
<source lang="Shell"> sudo apt-get install oracle-java8-installer cd /usr/lib/jvm/java-8-oracle
- Java version
java -v
- Java Compiler
javac -version </source>
Basics
Main Method
<source lang="Java"> public static void main(String[] args]) </source>
Comments
<source lang="Java"> // Single Line Comment
/* Multi Line Comment
- /
/**
* Java Doc Comment * @param * @return */
</source>