GithubHelp home page GithubHelp logo

lg_eureka's Issues

클래스 메모리 구조 그림 그려보기

package dto_test_0612;

//학사 관리 프로그램에서 학생정보를 저장하는 용도의 클래스
public class StudentDto {
    String hakbun; //변수 (학번) 이렇게 변수를 정의하는 것을 필드라고 부름

    /* main 함수안에 있는 변수 -> 지역변수 -> 자동초기화가 안됨.
    *  하지만 field 는 자동으로 기본값으로 초기화 됨
    * 필드는 클래스로부터 객체가 생성된 후에 사용 가능함 */
    String name;
    String major;

}
package dto_test_0612;

public class Student_Test {
    public static void main(String[] args) {
        StudentDto d1 = new StudentDto();

        d1.name = "곽지욱";

        StudentDto d2 = new StudentDto();

        d2.name = "김길동";


    }
}

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.