hello world C语言 #include <stdio.h> int main() { printf("hello,world"); return 0; } JAVA package BC; public class HelloJava { private static String say="world"; public static void main(String[] args) { // TODO 自动生成的方法存根 System.out.println("hello,"+say); } }