One minute
My First Post
How nice to see you here 😃
Hello, World! In Some Different Programming Languages
print ("Hallo, World!")
echo "Hello World"
#include
int main(void)
{
puts("Hello, World!");
}
#include
int main()
{
std::cout << "Hello, World!
";
return 0;
}
using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
console.log 'Hello, World!'
import javax.swing.JFrame; //Importing class JFrame
import javax.swing.JLabel; //Importing class JLabel
public class HelloWorld {
public static void main(String[] args) {
JFrame frame = new JFrame(); //Creating frame
frame.setTitle("Hi!"); //Setting title frame
frame.add(new JLabel("Hello, World!"));//Adding text to frame
frame.pack(); //Setting size to smallest
frame.setLocationRelativeTo(null); //Centering frame
frame.setVisible(true); //Showing frame
}
}
document.write('Hello, World!');
puts "Hello, World!"
I think this was very educational 😃
117 Words
2020-06-29 16:37 +0200