instance in Java
OOP(Object Oriented Programming) 실제 존재하는 사물과 그에 따르는 행동을 3인칭 관찰자의 시점으로 실체화(=객체화) 시키는 형태의 프로그래밍. 수정과 유지보수에 용이 (대규모 프로젝트에 사용되기 적합) Object 객체는 데이터와 기능으로 이루어져 있다. instance 객체는 어떤 클래스에 실제하는 물건이라는 의미에서 instance라고 한다. 그렇기에 그것을 생성하는 행위를 인스턴스화(instantiation) 라고 한다. 객체를 생성할 때는 Class라는 틀이 있어야한다. 정의한 클래스를 실체화시키는 것이 객체화 시키는 것이다. *Class 특정한 유형의 객체를 구별하여 정의한 것을 가지고 있다. 틀(mold) e.g 붕어빵틀, Apple class, etc 붕어빵 틀만으..
JAVA
2018. 12. 31. 17:20
Class and Object in C++
Class and Object in C++ Data and functions are created in class and an object is created through a class.How to declare an object is almost the same way which we declare normal variables.Class members are private by default.To allocate memory, a name should be given as an instance Example code
C++
2018. 11. 6. 06:26
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- algorithm
- Collection Framework
- C++
- ... in Javascript
- easy javascript algorithm
- 프로그래머스
- string class in java
- repeat()
- Javascript Algorithm
- 알고리즘
- HackerRank Algorithm
- hackerrank solution
- math.max
- compareTo()
- code refactoring
- hackerrank javascript solution
- 프로그래머스 알고리즘
- spring boot application
- easy algorithm
- Object type casting
- equals()
- rest parameter
- substring()
- hackerrank
- HashMap
- 프로그래머스 알고리즘문제
- math.abs
- hackerrank javascript
- java
- javascript
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함