Java Fundamentals
"Move out of your comfort zone. You can only grow if you are willing to feel awkward and uncomfortable when you try something new."
Subject: Java Fundamentals
Topics:
Subject: Java Fundamentals
Topics:
- Statements Structure
- Statements ends with semicolon.
- Comments
- Usage of Comments in code
- Types of Comments
- Line Comments
- Block Comments
- Java Doc Comments
- What is package
- Package Naming Conventions
- Example: package com.strls.testing.learnjava
- Correlation between package names and Source file structure.
- Before adding package name to the java file. Structure of Folders in IDE.
- src -> main.java
- After adding package name to java file. Structure of Folders in IDE.
- src -> com -> strls -> testing -> learnjava -> HelloWorldOrganized -> main.java
package com.strls.testing.learnjava;
public class HelloOrganized {
public static void main(String[] args) {
System.out.println("Hello Get Organized");
}
}