Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 |
30 | 31 |
Tags
- 코로나백신 어지러움
- 신주쿠 로컬식당
- windows10 크롬
- 10원단위 올림
- 랍스터 찜
- 안드로이드폰 위치
- 코로나백신 부작용
- 타카마루
- 코로나백신
- 화이자백신
- 신주쿠맛집
- windows10 cisco vpn
- 성수족발
- 오라클
- 10 올림
- 코로나백신 갈증
- 크롬 인너넷연결 안됨
- 윈도우10 vpn
- 크롬 인터넷연결
- 분기날짜
- 응용 프로그램 내 구입
- takanaru
- cisco vpn
- 코로나백신이상증상
- 크롬 타임아웃
- 노리로또
- 핸드폰 찾기
- Windows10
- 강화 프로방스
- 로니세라
Archives
- Today
- Total
이거 맘대로 되는 세상이 아니구만...
[JAVA]메서드와 생성자에 대해서... 본문
반응형
String str="abcd";
int i=str.indexof("bc");
class String{
int indexof(String str1){
}
}
-----------------------------------------
String str="abcd";
char[] arr=str.tocharArray();
for(int i=0 ; i<arr.length ; i++)
Sys.....................(arr[i])
class String{
char[] tocharArray(){
}
}
-------------------------------------------
String str="a,b,c,d"
String str2=str.substring(1,3)
Sy.......................(str2);
class String{
String substring(int i, int j){
}
}
--------------------------------------------
String s=Integer.toBinaryString(10);
class Integer{
static String toBinaryString(int i){ //static Integer라는 클래스명으로 직접 접근하였다.
}
}
---------------------------------------------
double d=MaTh.randow();
class Math{
static double randow(){ //static Math로 직접 접근 중요하다
}
}
---------------------------------------------
StringTokenizer st=new StringTokenizer("this|is|a|test|" , "|")
boolean b=st.hasMoveTokens();
class StringTokenizer{
String str;
String str1;
StringTokenizer(String str, String str1)
boolean hasMoveTokens(){
}
}
---------------------------------------------
String s="abcd";
boolean b=s.startswith("ab")
class String{
boolean startswith(String s){
}
}
int i=str.indexof("bc");
class String{
int indexof(String str1){
}
}
-----------------------------------------
String str="abcd";
char[] arr=str.tocharArray();
for(int i=0 ; i<arr.length ; i++)
Sys.....................(arr[i])
class String{
char[] tocharArray(){
}
}
-------------------------------------------
String str="a,b,c,d"
String str2=str.substring(1,3)
Sy.......................(str2);
class String{
String substring(int i, int j){
}
}
--------------------------------------------
String s=Integer.toBinaryString(10);
class Integer{
static String toBinaryString(int i){ //static Integer라는 클래스명으로 직접 접근하였다.
}
}
---------------------------------------------
double d=MaTh.randow();
class Math{
static double randow(){ //static Math로 직접 접근 중요하다
}
}
---------------------------------------------
StringTokenizer st=new StringTokenizer("this|is|a|test|" , "|")
boolean b=st.hasMoveTokens();
class StringTokenizer{
String str;
String str1;
StringTokenizer(String str, String str1)
boolean hasMoveTokens(){
}
}
---------------------------------------------
String s="abcd";
boolean b=s.startswith("ab")
class String{
boolean startswith(String s){
}
}
반응형
Comments