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 — Java/CStyle.java at master · shivgy/Java Expand file tree/ Copy pathCStyle.javaMore file actions 15 lines (11 loc) · 305 Bytes / Copy pathCStyle.javaFile metadata and controls15 lines (11 loc) · 305 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public class CStyle { public static void main(String[] args) { char str2[] = {'h','e','l','l','o','\0'}; //C-style string hash(str2); System.out.println(hash(str2)); } /* Method to return the length of input character string*/ public static int hash(char str[]){ return str.length; } } |
| You are visitor 01402775 — 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. |