Tampilkan postingan dengan label Informatika. Tampilkan semua postingan
Tampilkan postingan dengan label Informatika. Tampilkan semua postingan

Senin, 19 Desember 2011

Method & Constructor

Method merupakan prosedure dalam java yang sering di deklarasikan dengan void.
Contoh deklarasi method
public class persegi {
    int luas;                              //variabel
        public persegi(){                  //constructor
           luas_persegi(2);
        }

    public void luas_persegi(int sisi){    //method luas persegi
       luas = sisi * sisi;
       System.out.println("Luasnya : "+ luas);
    }
}
Constructor merupakan suatu metode dalam java yang berfungsi untuk memberi nilai pada variabel dan memberi tau komputer tentang hal yang pertama kali dilakukan saat objek pertama kali dibuat. Constructor dibuat berdasarkan nama class.
Contoh deklarasi Constructor :
public class persegi {
       private int s, keliling;       //attribut

       public persegi(int a){     //konstruktor
           s = a;           //attribut s diisi melalui parameter a pd konstruktor

       }

Pemrograman Berorientasi Objek

Dalam Pemrograman Berorientasi Objek, kita mengenal Class dan Objek. Class dan Objek itu berbeda, apa bedanya???? bedanya adalah :
             Class :
  • Merupakan induk dari objek
  • Dapat menampung beberapa objek dengan karakter berbeda pada masing – masing objek.
  • Memiliki master / induk karakteristik dari beberapa objek.
  • Bias membuat banyak objek dari satu Class
Objek :
  • Merupakan bagian / anak dari Class.
  • Memiliki behavior / bias melakukan sesuatu
  • Memiliki atribut dan value.
  • Memiliki state, yaitu atribut yang valuenya dapat berubah  
contoh deklarasi Class dalam java :
Public class java{
        // main program

}

Class ada dua, subclass dan superclass
Subclass merupakan class turunan dari induk class / parent class yaitu super class
Deklarasinya :
public class program extends java{
      // main program dari subclass

}
Superclass merupakan class parent dari subclass

Selasa, 21 Juni 2011

The History of Java Language

 

The Java programming language the first born of The Green Project, which runs for 18 months, from early 1991 to summer 1992. The project is not using a version called Oak. The project was initiated by Patrick Naughton, Mike Sheridan, James Gosling and Bill Joy, along with nine other programmers from Sun Microsystems. One result of this project is the Duke mascot created by Joe Palrang. Project meeting took place in an office building Sand Hill Road in Menlo Park.

Around the summer of 1992 the project was closed by generating a Java program's first Oak, which is intended to control a device with touch screen technology (touch screen), like on a PDA today. This new technology named "* 7A? ³ (Seven Star). After the era of Star Seven completed, a subsidiary of cable TV plus a few people interested in the project The Green Project. They focus their activities on an office space at 100 Hamilton Avenue, Palo Alto. The new company is getting ahead: the number of employees increased in a short time from 13 to 70 people. At this time span was also determined using the Internet as a medium that bridges the work and ideas between them.

In the early 1990s, the Internet is still a stub, which is used only in academic circles and the military. They make the browser (browser) Mosaic as the basis for beginning to create the first Java browser called Web Runner, inspired by 1980s film, Blade Runner. In the development of the first release, the Web Runner renamed Hot Java. In about March 1995, for the first time the Java source code version 1.0a2 opened. Their success was followed with news for the first time in the newspaper San Jose Mercury News on May 23, 1995. Unfortunately there are divisions among them one day at 04.00 in a hotel room Sheraton Palace. Three of the main leaders of the project, Eric Schmidt and George Paolini from Sun Microsystems along with Marc Andreessen, Netscape form.

Oak name, taken from an oak tree that grows in front of the workspace window "father of Java", James Gosling. Oak name is not used for release versions of Java as a software has been registered with a trademark, so take the name of his successor to "Java". The name is taken from the ground pure coffee beans directly from (black coffee) Gosling's favorite.

Selasa, 04 Januari 2011

Makalah PTI

 Sistem Informasi dan Komunikasi Perusahaan

Sistem informasi yang dimiliki perusahaan ini adalah sebagai berikut :
ü  Komputer di kantor pusat dan kantor cabang menggunakan LAN 10/100 Mbps – TCP/IP
ü  Setiap kantor cabang mengirimkan data-data properti (update) ke kantor pusat melalui internet dengan koneksi dial-up
ü  Di kantor pusat terdapat Server untuk web dan database property dari seluruh kantor cabang
ü  Jumlah perangkat keras dan sambungan telekomunikasi:
Ø  Kantor Pusat
v  Komputer       : 8 unit
v  Server             : 2 unit
v  Printer Laser   : 1 unit
v  Printer Inkjet  : 1 unit (Scanner, Copier, Fax)
v  Router             : 1 unit
v  Switch            : 1 unit
v  UPS                : 10 unit
v  PABX             : 16 Line
v  Telepon           : 5 Line
v  Fax                  : 1 Line
Ø  Masing-masing Kantor Cabang
v  Komputer               : 3 unit
v  Modem 56Kbps     : 1 unit (External)
v  Printer Inkjet          : 1 unit
v  Hub                        : 1 unit
v  UPS                       : 3 unit
v  PABX                    : 8 Line
v  Telepon                  : 3 Line
v  Fax                         : 1 Line
ü  Aplikasi yang dipakai :
v  Sistem Operasi Server       : Windows 2000 Server
v  Sistem Operasi Client        : Windows XP Profesional
v  Aplikasi perkantoran         : Microsoft Office 2000
v  Aplikasi keuangan             : Zahir Accounting Standar Edition
ü   PROTEKSI DAN KEAMANAN SISTEM INFORMASI

Beberapa tindakan perusahaan untuk menjaga aset informasi:

ü  Memberikan akses komputer kepada orang yang benar-benar berhak menggunakan komputer dengan cara memberikan ID dan password kepada masing-masing anggota departemen kecuali satpam.
ü  Apabila terdapat data-data tentang properti, keuangan, dsb dikertas yang tidak terpakai akan dihancurkan dengan mesin shredder atau disobek/dipotong-potong hingga tidak bisa terbaca.
ü  Data tentang penjual properti tidak ditampilkan di web melainkan hanya diketahui oleh agen yang bersangkutan dan coordinator kantor. akses control bisa anda baca di bawah ini..
Powered By Blogger