Moodle
Software
Moodle requires a web server environment and will run in Apache and IIS easily. Moodle should run in any server environment that supports PHP.Moodle is written in the PHP scripting language. Currently, Moodle v 1.9.x requires a minimum of PHP v4.3.0 to run. Moodle 2.0 needs PHP v 5.2.8. Moodle 2.1 needs PHP v 5.3.x. There have been some issues with deprecated tags in PHP v 5.3.0 which have a negative impact on a number of PHP Apps, Moodle not exempted, so please ensure your PHP version is later than v 5.3.2 if using a v5.3.x. There has also been reported some issues installing Moodle with PHP-Accelerator. See the PHP Moodle version requirements here PHP settings by Moodle version for more information.
Moodle will use MySQL, MSSQL, PostgreSQL or Oracle as a database, but no others. There is some real issues in the interoperability interface of different databases, which complicates the whole issue. For version information, you can go to the Download page and that will describe version requirements for available packages.
If you want to run Moodle on your own computer, please see Installing Apache, MySQL and PHP for step-by-step instructions for installation on most popular platforms.
inheritence
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
/**
*
* @author Administrator
*/
class mobil{
String warna;
int tahunProduksi;
}
public class klassMobil166 {
public static void main(String[] args) {
mobil mbl= new mobil();
mbl.warna="merah";
mbl.tahunProduksi=2000;
System.out.println("warna mobil "+mbl.warna);
System.out.println("tahun prdk "+mbl.tahunProduksi);
}
}
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
/**
*
* @author Administrator
*/
class mobil{
String warna;
int tahunProduksi;
}
public class klassMobil166 {
public static void main(String[] args) {
mobil mbl= new mobil();
mbl.warna="merah";
mbl.tahunProduksi=2000;
System.out.println("warna mobil "+mbl.warna);
System.out.println("tahun prdk "+mbl.tahunProduksi);
}
}
hitung segitiga
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
import com.sun.org.apache.xml.internal.utils.StylesheetPIHandler;
/**
*
* @author Administrator
*/
public class hitungSegitiga166 {
public static void main(String[] args) {
modelSegitiga166 segi = new modelSegitiga166();
segi.setAlas(20);
segi.setTinggi(90);
System.out.println("luas segitiga = "+segi.getLuas());
}
}
float
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
/**
*
* @author Administrator
*/
public class float166 {
public static void main(String[] args) {
float bil1=0;
float bil2=0.13f;
float bil3=0.24f;
System.out.println("float bil1 ="+bil1);
System.out.println("float bil2 ="+bil2);
System.out.println("float bil3 ="+bil3);
}
}
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
/**
*
* @author Administrator
*/
public class float166 {
public static void main(String[] args) {
float bil1=0;
float bil2=0.13f;
float bil3=0.24f;
System.out.println("float bil1 ="+bil1);
System.out.println("float bil2 ="+bil2);
System.out.println("float bil3 ="+bil3);
}
}