GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — notes/java/javaNote.txt at master · midgithub/notes

Expand file tree

/

javaNote.txt

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
9 lines (8 loc) · 491 Bytes
/

javaNote.txt

Copy path

File metadata and controls

9 lines (8 loc) · 491 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
源文件名必须和类名相同,一个源文件中只能有一个public类
javac 命令用于将 java 源文件编译为 class 字节码文件 javac -encoding UTF-8 JavaTest.java
java 命令可以运行 class 字节码文件
单继承,单继承,同c#
语音本身不支持多平台,因为有虚拟机
Java程序在Java平台上被编译为字节码格式,Java解释器对这些字节码进行解释执行(解释型)
package com.sen.androidfirst //包声明,及命名空间,在源文件的首行
import java.io.*; //在package 后面,使用某命名空间,using 命令编译器载入java_installation/java/io路径下的所有类
You are visitor 01402520 — 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.