GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaForAndroid/JavaLecture3.java at main · rizwan-ai/JavaForAndroid Expand file tree/ Copy pathJavaLecture3.javaMore file actions 35 lines (26 loc) · 1.34 KB / Copy pathJavaLecture3.javaFile metadata and controls35 lines (26 loc) · 1.34 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 // 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 } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |