Other Languages

Php Basics, Quotes

Double quotes, variables are interpreted
Herodoc string, format on multiple lines

$a = "Hello World";
echo '$a';  // $a
echo "$a";  // Hello World
Hello

Java Basics, Classes

In Java, everything goes into a class (.java file)
A class is a blueprint for an object

public class MyClass
  public static void main(String[] args)
Hello

Python Language, Hello World

Python comand line
Mistakes on purpose, helps to remember

$ python
>>> print('Hello World!') 

print 'Hello World' # SyntaxError
Hello



Javascript

Javascript Fundamentals, Hello World

Js code can be inserted into HTML
It can also be saved into an external file

<script> alert("Hello World"); </script>
<script src="hello.js"></script>
Hello