NAMA : PATRICK ADAM AGATHA
KELAS : 3KA28
NPM : 15110327
ANALISA LOOPING PADA PROGRAM Q BASIC
Hasil analisa leksikal :
1. Identifier : Masukan Nilai A
2. Operator : Print
3. Nilai Konstanta : FOR B dan FOR C
Replace these every slider sentences with your featured post descriptions.Go to Blogger edit html and find these sentences.Now replace these with your own descriptions.This theme is Bloggerized by Lasantha - Premiumbloggertemplates.com.
Replace these every slider sentences with your featured post descriptions.Go to Blogger edit html and find these sentences.Now replace these with your own descriptions.This theme is Bloggerized by Lasantha - Premiumbloggertemplates.com.
Replace these every slider sentences with your featured post descriptions.Go to Blogger edit html and find these sentences.Now replace these with your own descriptions.This theme is Bloggerized by Lasantha - Premiumbloggertemplates.com.
| onCreate(Bundle) | Dipanggil saat pertama kali aplikasi dijalankan. Kita dapat menggunakan ini untuk deklarasi variabel atau membuat user interface. |
| onStart() | Mengindikasikan activity yang ditampilkan ke pengguna (user). |
| onResume() | Dipanggil saat applikasi kita mulai berinteraksi dengan pengguna. Disini sangat cocok untuk meletakkan animasi ataupun musik. |
| onPause() | Dipanggil saat applikasi yang Kita jalankan kembali ke halaman sebelumnya atau biasanya karena ada activity baru yang dijalankan. Disini cocok untuk meletakkan algoritma penyimpanan (save). |
| onStop() | Diapnggil saat aplikasi Kita berjalan di belakang layar dalam waktu cukup lama. |
| onRestart() | Activity kembali menampilkan user interface setelah status stop. |
| onDestroy() | Dipanggil saat aplikasi benar-benar berhenti. |
| onSaveInstanceState(Bundle) | Method ini mengijinkan activity untuk menyimpan setiap status intance. Misalnya dalam mengedit teks, kursor bergerak dari kiri ke kanan. |
| onRestoreInstanceState (Bundle) | Diapanggil saat activity kembali meng-inisialisasi dari status sebelumnya yang disimpan oleh onSaveInstanceState(Bundle). |
<?xml version="1.0" encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:orientation="vertical"android:layout_width="fill_parent"android:layout_height="fill_parent"><TextViewandroid:layout_width="wrap_content" android:layout_height="wrap_content"android:text="Hello World"/></LinearLayout>