ok, utk bt package dlm satu java class, add satu line ni je kat awl2 code
package com.putera.myapp;
public class test {
...
compile mcm bse [javac test.java] bl nk run, ln skit 1. buat satu folder com 2. dlm folder com, bt folder putera 3. dlm putera, bt folder myapp kira directory nk cmni la com - putera - myapp pstu, msukkan test.class dlm folder myapp bl nk run, bt (contoh file = test.java) : java com.putera.myapp.test tu je FAQ : Q - nape nk bt package ni? mcm nyusahkan je... A - kalo stakat file java 2 3 biji je, xyh pon xpe, tp bl file da 2 3 puluh, gle gak nk organize, so package le A - kalo ada package, sng nk import class2 file yg da dibuat Q - kne pki com.putera.myapp je ke? ln2 xleh? A - contoh je tu, nk bbh package a.b.c pon bleh, package qwerty je pon xpe, nk a.b.c.d smp z pon no hal