본문 바로가기

돕자클럽 앱개발 투자 신용대출 재테크 P2P대출63

"Hellow world!" 프로그램 Lesson: A Closer Look at the "Hello World!" Application Now that you've seen the "Hello World!" application (and perhaps even compiled and run it), you might be wondering how it works. Here again is its code: 자바은 전통적인 "Hello, world!" 프로그램을 아래와 같이 작성합니다: The traditional "Hello, world!" program can be written in Java as:class HelloWorldApp { public static void main(String[] args) { System.out.prin.. 2016. 1. 4.
Method 메소드 아래는 전형적인 메소드 선언 (method declaration)의 예제입니다. public double calculateAnswer (double wingSpan , int numberOfEngines , double length , double grossTons ) { //여기서 계산합니다 } 메소드 선언에서 요구되는 항목들은 메소드의 return type, 이름, 한 쌍의 괄호 (), 그리고 중괄호 {} 사이의 body 들 뿐입니다. The only required elements of a method declaration are the method's return type, name, a pair of parentheses, (), and a body between braces, {}. 보다 일반.. 2016. 1. 4.
자바 쉬운 예제 How do you reference a data member/function? 데이터 멤버/함수를 참조하는 방법은? This is accomplished by stating the name of the object reference, followed by a period (dot), followed by the name of the member inside the object. 객체 참조의 이름을 적고, 그 뒤에 .(점)을 찍은 다음, 그 뒤에 객체의 안에 있는 멤버의 이름을 적어서 데이터터 멤버와 함수를 참조 합니다. ( objectReference.member ). You call a method for an object by naming the object followed by a period (.. 2016. 1. 4.
다른 Activity 시작하기 Starting Another Activity 다른 액티비티 시작하기 Previous Next This lesson teaches you to 이 단원에서는 다음을 가르칩니다1. Respond to the Send Button Send 버튼에 응답하기2. Build an Intent Intent 빌드 하기3. Create the Second Activity 두 번째 액티비티 만들기4. Receive the Intent Intent 수신하기5. Display the Message 메시지 표시하기 You should also read · Installing the SDK After completing the previous lesson, you have an app that shows an activity .. 2015. 12. 14.
간단한 사용자 인터페이스 구축하기 Building a Simple User Interface 간단한 사용자 인터페이스 구축하기 Previous Next This lesson teaches you to1. Create a Linear Layout 리니어 레이아웃 만들기2. Add a Text Field 텍스트 필드 추가하기3. Add String Resources 문자열 리소스 추가하기4. Add a Button 버튼 추가하기5. Make the Input Box Fill in the Screen Width 스크린 너비 내에 Input Box Fill 만들기 You should also read Layouts In this lesson, you create a layout in XML that includes a text field and.. 2015. 12. 14.
앱(app) 가동하기 Running Your App 앱 가동하기 Previous Next This lesson teaches you to1. Run on a Real Device2. Run on the Emulator You should also read · Using Hardware Devices· Managing AVDs with AVD Manager· Managing ProjectsIf you followed the previous lesson to create an Android project, it includes a default set of "Hello World" source files that allow you to immediately run the app. 이전 단원에서 안드로이드 프로젝트 생성에 관하여 .. 2015. 12. 14.