c
#include<stdio.h>
int main(void)
{
printf("生日快乐");
return 0;
}
python
print("生日快乐")
java
public static void main(String[] args) {
System.out.println("生日快乐");
}
c++
#include<iostream>
using namespace std;
int main(){
cout<<"生日快乐";
return 0;
}
c#
Console.Write("生日快乐");
JavaScript
console.log("生日快乐")
PHP
<?php
echo "<h2>生日快乐</h2>";
Objective-C
NSLog(@"%@",@"生日快乐");
Dart
void main() {
print("生日快乐");
Kotlin
println("生日快乐")
scala
print("生日快乐"
TypeScript
console.log("生日快乐")