Personal Website of Spencer Kindness Dawson Jamieson

Hello World
JAVA Example:

public class{ public void Main(string [] args){ system.out.Println("Hello World"); } }

hello World
PHP Example


<html> <head><title> SKDJ.CO.UK </title></head>
	<body> <?Php echo "Hello World" ?></body>
</html> 
          		

helloworld
C# Example.

using System; namespace HelloApp{ class program{ static void Main(string [] args){ int num = 3; string hello = "Hello SKDJ"; int a = 50; int b = 30; int c = a+ b; Console.WriteLine("Hello, World!"); Console.WriteLine(hello); Console.WriteLine(c); } } }

HelloWorld (HelloGui.java)
Example using java.awt and javax.swing

package helloworld; import javax.swing.*; import java.awt.*; /** * * @author SKDJ */ public class HelloWorld { public static void main(String[] args) { JFrame fr = new JFrame("Test GUI App"); JLabel lbl = new JLabel("Hello Test Gui App"); fr.getContentPane().add(lbl); fr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); fr.pack(); fr.setBounds(20,20,800,600); javax.swing.JOptionPane.showMessageDialog(fr,"Hello World"); fr.setVisible(true); System.out.println("Hello World"); } }

CSS

.hello{ position: relative; display: inline-block; text-align: center; float: center; } .hello:hover{ content: "Hello World"; }

HTML Example


<html> <head><title> SKDJ.CO.UK </title></head>
	<body> <H4> Hello World </H4> </body>
</html>           		
          		
          		
          		

PYTHON

#!/usr/bin/python print("helloWorld");

PERL

#!/usr/bin/perl use strict; use warnings; print("Hello World\n");