//Final 예제
/*
public class FinalTeat {
public static void main(String[] args) {
int i= 100;
System.out.println(i);
i=20;
System.out.println(i);
}
}
**/
/*
public class FinalTeat {
public static void main(String[] args) {
final int i= 100;
System.out.println(i);
//i=200;
System.out.println(i);
}
}
**/
class AA{
final int i; //색상 값의 경우 final 사용 .
AA(){ // final 생성자에서만 초기화할 수있고 변형은 불가하다.!
i=100;
}
}
public class FinalTeat {
public static void main(String[] args) {
AA a=new AA();
System.out.print(a.i);
}
}
font-family |
|
font-size |
|
font-style |
|
font-variant |
|
font-weight |
|
letter-spacing |
|
line-height |
|
text-decoration |
|
text-align |
|
text-indent |
|
text-transform |
|
white-space |
|
word-spacing |
|
color |
|
bg-attachment |
|
bg-color |
|
bg-image |
|
bg-position |
|
bg-repeat |
|
width |
|
height |
|
border-top |
|
border-right |
|
border-bottom |
|
border-left |
|
margin |
|
padding |
|
max-height |
|
min-height |
|
max-width |
|
min-width |
|
outline-color |
|
outline-style |
|
outline-width |
|
position |
|
top |
|
bottom |
|
right |
|
left |
|
float |
|
display |
|
clear |
|
z-index |
|
list-style-image |
|
list-style-type |
|
list-style-position |
|
vertical-align |
|
border-collapse |
|
border-spacing |
|
caption-side |
|
empty-cells |
|
table-layout |
|
text-shadow |
|
-webkit-box-shadow |
|
border-radius |
|
overflow |
|
cursor |
|
visibility |
|
font-family |
|
font-size |
|
font-style |
|
font-variant |
|
font-weight |
|
letter-spacing |
|
line-height |
|
text-decoration |
|
text-align |
|
text-indent |
|
text-transform |
|
white-space |
|
word-spacing |
|
color |
|
bg-attachment |
|
bg-color |
|
bg-image |
|
bg-position |
|
bg-repeat |
|
width |
|
height |
|
border-top |
|
border-right |
|
border-bottom |
|
border-left |
|
margin |
|
padding |
|
max-height |
|
min-height |
|
max-width |
|
min-width |
|
outline-color |
|
outline-style |
|
outline-width |
|
position |
|
top |
|
bottom |
|
right |
|
left |
|
float |
|
display |
|
clear |
|
z-index |
|
list-style-image |
|
list-style-type |
|
list-style-position |
|
vertical-align |
|
border-collapse |
|
border-spacing |
|
caption-side |
|
empty-cells |
|
table-layout |
|
text-shadow |
|
-webkit-box-shadow |
|
border-radius |
|
overflow |
|
cursor |
|
visibility |
|
댓글