목록재정의 (5)
투케이2K

[개발 환경 설정] 개발 언어 : C# / NET [소스 코드] using System; using System.Collections; using Microsoft.VisualBasic; namespace testProject { // [부모 클래스 생성] public class Application{ // [메소드 정의 : virtual] public virtual void onCreate(){ Console.WriteLine($""); Console.WriteLine($"------------------------------------------"); Console.WriteLine($"[Application] : [onCreate] : [Log]"); Console.WriteLine($"--..

[개발 환경 설정] 개발 툴 : AndroidStudio 개발 언어 : java [방법 설명]

/* =========================== */ [개발 환경 설정] 개발 툴 : Eclipse 개발 언어 : kotlin /* =========================== */ /* =========================== */ [소스 코드] package ex1 //===== [코틀린 인터페이스 선언 부분] ===== interface InterFaceClass{ //메소드 헤더 정의 실시 fun call() } //===== [코틀린 자식 클래스 생성 부분] ===== class ChildClass : InterFaceClass { //인터페이스 메소드 상속 받아 재정의 실시 override fun call(){ println("ChildClass > call 수행"..

/* =========================== */ [개발 환경 설정] 개발 툴 : Eclipse 개발 언어 : kotlin /* =========================== */ /* =========================== */ [소스 코드] package ex1 //===== [코틀린 부모 클래스 선언 부분] ===== open class Parent { //메소드 정의 open fun one_excute() { println("Parent 클래스 > one_excute() 메소드") } //메소드 정의 open fun two_excute() {} //메소드 정의 open fun three_excute() { println("Parent 클래스 > three_excut..

/* =========================== */ [ 개발 환경 설정 ] 개발 툴 : Eclipse 개발 언어 : Java /* =========================== */ /* =========================== */ [소스 코드] package AI2; //TODO 부모 클래스 생성 부분 interface Parent { public void setParent(); }//부모 클래스 종료 //TODO 자식 클래스 생성 부분 public class MainActivity4 implements Parent{ public static void main(String[] args) { // TODO Auto-generated method stub System.out...