2007/07/01(日)C#
2015/07/19 07:06
namespace CSharpHelloWorld{
using System;
class HelloWorld{
public static void Main(){
Console.WriteLine("Hello World");
}
}
}
using System;
class HelloWorld{
public static void Main(){
Console.WriteLine("Hello World");
}
}
}
2007/06/13(水)C++/CLI
2015/07/19 07:06
■ C++/CLI
int main() { System::Console::WriteLine(L"Hello World"); return 0; }
2007/06/13(水)C++
2007/05/24(木)Java
2015/07/19 07:06
■Java
public class HelloWorld{ public static void main(String args[]){ System.out.print("Hello World!"); } }
■Servlet
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet{ public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException{ out.print("HelloWorld!"); } }
■JSP
<html> <head> <title>HelloWorld!</title> </head> <body> <%="HelloWorld!" %> </body> </html>
2007/05/15(火)C
2015/07/19 07:06
■ C
#include <stdio.h> int main(int argc, char *argv[]) { puts("Hello world!"); return 0; }