프로그래밍 언어
-
[Java] Java ?프로그래밍 언어/Java 2024. 7. 22. 21:06
Java란Java는 널리 사용되는 객체지향 프로그래밍 언어로 C++의 장점을 도입하고, 단점을 보완한 언어다. Java의 특징 & 장점1. 이식성'Write once, run anywhere' Java의 제일 큰 특징은 운영체제에 독립적이단 것이다. 기존에는 특정 운영체제에 맞게 개발된 프로그램을 다른 운영체제에서 사용하기 위해선 많은 노력이 필요했다. 하지만, Java는 JVM이라는 운영체제 위에서 동작하는 에뮬레이터를 통해,운영체제나 하드웨어에 관계 없이 실행이 가능하다. 2. 자동 메모리 관리Garbage Collection 자바로 작성된 프로그램이 실행되면, GarbageCollector가 주기적으로 메모리 영역에서 안 쓰는 메모리를 회수해간다.다소 stop The World로 인해 비효율적인 ..
-
HTML 요소프로그래밍 언어/Html 2024. 7. 15. 22:12
HTML 요소( Element ) 요소는 웹페이지를 구성하며, 데이터 항목, 텍스트 묶음, 이미지 등을 담을 수 있다. HTML 요소의 주요 부분은 다음과 같다.1. 여는 태그 : 요소의 이름으로 구성되며, 요소가 시작하는 곳 임을 나타낸다.2. 닫는 태그 : 여는 태그와 마찬가지로 요소의 이름으로 구성되어 있지만, 앞에 슬래시( / )가 포함되어 있으며, 요소가 끝나는 곳 임을 나타낸다.3. 콘텐츠 : 요소의 내용4. 요소 : 요소는 1, 2, 3번으로 이루어져있다. 또한, 요소는 속성을 가질 수 있다. 속성은 실제 콘텐츠로 표시되길 원하지 않는 정보를 담고 있다. 위 코드에서는 Class 속성을 이용해 Head 태그에서 요소를 특정하여 스타일이나, 색상 등 다..
-
HTML과 기본 구조프로그래밍 언어/Html 2024. 7. 15. 22:02
HTML이란? Hypertext Markup Lanaguage의 줄임말로 웹 컨텐츠의 의미와 구조를 정의할 때 사용한다. 여기서 Hypertext는 HTML: Hypertext Markup Language | MDN (mozilla.org) 와 같이 웹페이지를 다른 페이지로 연결하는 링크 말하며, 웹의 근본적인 속성인 링크를 통해 다른 사람이 만든 페이지로 연결할 수 있다. HTML은 컨텐츠를 표시하기 위해 마크업을 사용한다.HTML에서 사용되는 마크업에는 다양한 요소가 존재하는데, Body입니다.
-
[Programmers, Lv2] 자동차 종류 별 특정 옵션이 포함된 자동차 수 구하기프로그래밍 언어/SQL 2024. 6. 25. 23:50
문제문제1 : 코딩테스트 연습 - 자동차 종류 별 특정 옵션이 포함된 자동차 수 구하기 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr car_rental_company_car 테이블에 다음 문구 중 1개라도 들어가 있어야 한다.통풍시트열선시트가죽시트자동차 종류를 기준으로 오름차순 정렬문제 접근 해당 문제를 접근하는 방법으로 3가지 계획을 세웠다options 컬럼을 STRING_SPLIT을 사용하여 ','을 기준으로 분할하고, IN을 사용하여 해당 내용 중에 '통풍시트', '열선시트', '가죽시트'가 들어있는지 확인WHERE절에서 LIKE를 활용하여, '%통..