// package com.rit; import static java.lang.System.out; // import static java.lang.System.in; // import static java.lang.System.err; // import static java.lang.System.*; public class JavaLecture3 { public static void main(String[] args) { // java.lang.System.out.println("Hi Java"); // System.out.println("Hi Java"); out.println("Hi Java"); // java.lang --- Package // System --- Class (The System class contains several useful class fields and methods. It cannot be instantiated.) // --- Among the facilities provided by the System class are standard input, standard output, and error output streams. // out --- Field (The "standard" output stream.) // println() --- Method (Prints a String and then terminate the line. This method behaves as though it invokes print(String) and then println().) // com.rit --- Package // Main --- Class // main() --- Method // Method / Function -> A block of code that performs a task // Class -> A container for related functions / methods // Package -> A Group of related classes // Naming Convention // Classes -> PascalNamingConvention // Methods -> camelNamingConvention } }