A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/asgaardc/luminous/system/core/Exceptions.php:170)

Filename: libraries/Session.php

Line Number: 671

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/asgaardc/luminous/system/core/Exceptions.php:170)

Filename: libraries/Session.php

Line Number: 671

Luminous PHP Syntax Highlighter - testing Java
Fork me on GitHub

testing Java

198 bytes of Java by Alex

1234567891011121314
class Student {

  //atributes
  private String name;
  private String supervisor;

  //constructor
  public Student(String text1, String text2) {
     name = text1;
     supervisor = text2;
  }


}