Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Friday, December 23, 2016

Class dan Object JAVA FUNDAMENTALS

Class dan Object JAVA FUNDAMENTALS


HLDN - Java adalah bahasa berorientasi objek. Sebagai bahasa yang memiliki fitur object oriented, Java mendukung konsep dasar berikut ini.
-Polymorphism
-Inheritance
-Encapsulation
-Abstraction
-Classes
-Objects
-Instance
-Method
-Message Parsing
Dalam artikel ini, Kita akan membahas konsep class dan object.
– Class merupakan suatu “Blueprint” atau “Cetakan” untuk menciptakan suatu instant dari object. Class juga merupakan grup suatu object dengan kemiripan attributes/properties, behavior dan relasi ke object lain. Contoh :Class Person, Vehicle, Tree, Fruit dan lainnya.
– Object adalah instance dari class secara umum merepresentasikan (template) sebuah object, sebuah instance adalah representasi nyata dari class itu sendiri.
Contoh : Dari Class Fruit kita dapat membuat object Mangga, Pisang, Apel, dan lainnya.

Class Pada Java

Berikut contoh class dibawah ini:
public class cat{

   String breed;

   int age;

   String color;
   void miaow(){

   }
   void hungry(){

   }
   void sleeping(){

   }

}

Class dapat berisi salah satu jenis variabel berikut.
Variabel lokal : Variabel didefinisikan didalam method konstruktor atau blok disebut variabel lokal, variabel akan dideklarisasikan dalam method dan variabel akan dihancurkan ketika method telah selesai.
Variabel Instance : Variabel dalam class tetapi diluar method apapun, variabel ini dipakai ketika class dimuat. Variabel instance dapat diakses dari dalam method, konstruktor atau class tertentu.
variabel Class : Variabel dideklarasikan dalam class, diluar method apapun, dengan kata kunci static.
Class dapat memiliki sejumlah method untuk mengakses nilai dari berbagai jenis method. Dalam contoh diatas miaow(), hungry(), dan sleeping() adalah method.

Membuat Objek

Seperti disebut sebelumnya class menyediakan "blueprint" untuk objek jadi pada dasarnya,sebuah objek dibuat dari class.Di java, kata kunci "new" digunakan untuk membuat objek baru.
Ada tiga langkah membuat objek dari class:
Deklarasi: Deklarasi variabel dengan nama variabel dan jenis objek.
Instansiasi: kata kunci "new" digunakan untuk membuat objek.
Inisialisasi: kata kunci "new" diikuti dengangan panggilan untuk konstuktor, panggilan ini menginisialisasi objek baru.
Berikut contoh membuat objek dibawah ini.
public class Kitten{


       public Kitten(String name){

              // konstruktor ini memiliki satu parameter, name

              System.out.println("my kitten is:" + name);

              }

       public static void main (String []args){

              //ikuti statement ini untuk membuat objek mykitten

              Kitten mykitten = new Kitten ("teo");

       }

}


Jika code diatas benar maka hasilnya seperti berikut.

mykitten is:teo

Demikian artikel Class dan Object pada Pemrograman Java. Ikuti terus hldn611.blogspot.co.id untuk mendapat informasi seputar pemrograma.

Available link for download

Read more »

Thursday, November 24, 2016

Cowmboy e Aliens Java

Cowmboy e Aliens Java





O jogo oficial dos aclamados Cowboys e Aliens em quadrinhos!

Jogue como Zeke e conhecer todos os personagens de quadrinhos: Verity, War Hawk e Dar Rado terrível.

Este rápido jogo de ação passeado lhe permitirá experiência emocionante de plataformas e tiroteios.
Explore 4 ambientes diferentes: canyons, cidade do Velho Oeste, trens e uma nave espacial.
Um enorme arsenal está à sua disposição, a partir de pistolas e rifles de poderosas armas alienígenas.
Montar cavalos, touros e até mesmo espaço bicicletas .
128×160, 176×208, 176×220, 240×320, 320×240, 240×400, 360×640 



Available link for download

Read more »

Monday, November 21, 2016

Command Conquer Red Alert JAR JAVA

Command Conquer Red Alert JAR JAVA


Command & Conquer: Red Alert JAR [JAVA] logo
Crazy real-time strategy in readiness for your mobile phones!
The developers kept all the best that was in this series of games. Apocalypse tanks, nuclear bombs ... Ah nostalgia!
The graphics and animation are very beautiful, lots of bright colors, colorful explosions. Just a great gameplay. Very convenient operation, especially in the construction, hiring units, and control of the airship to bombard. Different storylines. Some fulfill the mission you have to make smart, so think in the gameplay definitely necessary.
The developers have paid gameplay most of the time, this is just a game worth playing is not because of the graphics, but from all components of the process.

Tags :


Download Command & Conquer: Red Alert JAR [JAVA] free
Download Command & Conquer: Red Alert JAR [JAVA] for Nokia
Download Command & Conquer: Red Alert JAR [JAVA] for Samsung
Download Command & Conquer: Red Alert JAR [JAVA] for 128x128
Download Command & Conquer: Red Alert JAR [JAVA] for 128x160
Download Command & Conquer: Red Alert JAR [JAVA] for 176x220
Download Command & Conquer: Red Alert JAR [JAVA] for 240x360
Download Command & Conquer: Red Alert JAR [JAVA] jar file
Download Command & Conquer: Red Alert JAR [JAVA] for classic phones
Download Command & Conquer: Red Alert JAR [JAVA] for phones
Download Command & Conquer: Red Alert JAR [JAVA] for mobile
Free Command & Conquer: Red Alert JAR [JAVA] installation mobile
Download Command & Conquer: Red Alert JAR [JAVA] java source
Direct links Command & Conquer: Red Alert JAR [JAVA] jar
Command & Conquer: Red Alert JAR [JAVA] last version

Screenshots :


Command & Conquer: Red Alert JAR [JAVA] screenshots

Download :

DOWNLOAD HERE (128x160)
DOWNLOAD HERE (176x220)
DOWNLOAD HERE (240x320)

Available link for download

Read more »

Tuesday, November 15, 2016

Colin McRae Dirt 2D 3D Games Download For Java

Colin McRae Dirt 2D 3D Games Download For Java


Colin McRae You will participate in extreme cross country races in different parts of the globe - from forests to deserts and snowy plains. The game has several types of races in which you can experience the most advanced sports cars of the most famous manufacturers. Colin McRae The "garage" of the game includes such beauties as Audi TT, Mitsubishi Lancer Evolution IX, Subaru Impreza WRX STI Spec-C and other masterpieces of the automobile industry.

To download Colin McRae: Dirt 2D/3D free java game, we recommend you to select your phone model, and then our system will choose the most suitable game files. Downloading is very simple..!


 Colin McRae: Dirt 2D/3D Games Screen Shot:

Colin McRae: Dirt 2D/3D:

To download Colin McRae: Dirt 2D/3D free java game, we recommend you to select your phone model, and then our system will choose the most suitable game files. Downloading is very simple: select the desired file and click "Java Colin McRae: Dirt 2D/3D - free download", then select one of the ways you want to get the file. Just a few easy steps and will enjoy playing new game at your phone!
                                                                            

                                                                               

Download game Colin McRae: Dirt 2D/3D for free:

Please, specify your device, and we will select compatible games.
Select phone / tab


Available link for download

Read more »