목록분류 전체보기 (385)
ITGenerations
자바package com.example.ryan.myapplication; import android.app.Dialog; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(saved..
package com.example.ryan.myapplication; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; public class MainActivity extends AppCompatActivity { private static final int DIALOG_YES_NO_MESSAG..
Javapackage com.example.ryan.myapplication; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { private static final int DIALOG_YES_NO_MESSAGE=1; Button button; @Over..
//java package com.example.ryan.myapplication_calculator; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; public class MainActivity extends AppCompatActivity { TextView textView1; TextView textView2; TextView textView_result; String num1, num2; int reNum..
-소스1- import java.util.Date; public class Test { public static void main(String[] args) {// TODO Auto-generated method stub Transaction transaction=new Transaction();transaction.setMsg("hello");transaction.setRegDate(new Date());transaction.setVersion(1);System.out.println(transaction);} } -소스2- import java.io.Serializable;import java.util.Date;; public class Transaction implements Serializable ..