This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * local 내부 클래스 | |
| * 메소드 내에 정의 되는 내부클래스 | |
| * | |
| * 특징 | |
| * 메소드 내에서만 인식된다. | |
| */ | |
| class OuterClass3 { | |
| private int outerVar = 10; | |
| private static int outerStaticVar = 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * static 내부 클래스 | |
| * 내부 클래스 정의부에 static 이 지정된 내부 클래스 | |
| * | |
| * 특징 | |
| * static 변수를 선언할 수 있다. | |
| * 외부 클래스 변수 중 static 변수만 엑세스 가능함. | |
| * 다른 외부 클래스에서 클래스이름으로 바로 접근 가능함. | |
| */ | |
| class OuterClass2 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 인스턴스 내부 클래스 | |
| * 클래스 영역에 정의된 내부 클래스 | |
| * 특징 | |
| * 인스턴스 변수와 동일한 특성을 갖는다. | |
| * 내부 클래스에서 외부 클래스 에 존재하는 모든 변수에 다 엑세스 가능 | |
| * 다른 외부 클래스에서 접근할 때는 외부 클래스 객체를 생성해야 접근할 수 있다. | |
| * static 변수는 정의할 수 없다. | |
| */ | |
| class OuterClass { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dbtest; | |
| import java.sql.Connection; | |
| import java.sql.DriverManager; | |
| import java.sql.ResultSet; | |
| import java.sql.SQLException; | |
| /* | |
| * con 은 디비에 연결하는 역활 | |
| * st 는 디비에 쿼리를 날려서 제어하는 역활 | |
| * rs 는 결과를 받아옴 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript" charset="utf-8"> | |
| $(document).ready(function(){ | |
| $("a[rel^='prettyPhoto']").prettyPhoto({ | |
| animation_speed: 'fast', /* fast/slow/normal */ | |
| slideshow: 5000, /* false OR interval time in ms */ | |
| autoplay_slideshow: false, /* true/false */ | |
| opacity: 0.80, /* Value between 0 and 1 */ | |
| show_title: true, /* true/false */ | |
| allow_resize: true, /* Resize the photos bigger than viewport. true/false */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>가속도 예제</title> | |
| <style type="text/css"> | |
| #board { | |
| position: relative; | |
| width : 1000px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8"> | |
| <style> | |
| #board { | |
| position: relative; | |
| width: 600px; | |
| height: 600px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <style> | |
| #content { | |
| margin: 100px; | |
| } | |
| a { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8"> | |
| <style> | |
| #board { | |
| position: relative; | |
| width: 600px; | |
| height: 600px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> | |
| <div id="a"></div> | |
| <div id="b"></div> | |
| <span id="c"></span> |
NewerOlder