일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- #다차원포인터
- 하이퍼레저패브릭
- html video
- #CallByAddress
- docker example
- git flow
- #android activity
- html plug-in
- #자바상속#자바이즈어#is~a
- #binary
- #C++ has~a
- #2차원배열
- html code
- html multimedia
- hyperledger transaction
- html youtube
- 토큰경제
- #C++ 연산자함수오버로딩
- html object
- mac terminal command
- #bubbleSort
- html charset
- #JAVASCRIPT
- #성적관리프로그램
- border-box
- html id
- #1차원배열
- #3차원배열
- html5 new tag
- relative path
Archives
- Today
- Total
목록#InetAddress (1)
A sentimental robot
InetAddress Class
import java.net.*; public class CC { public static void main(String []args) throws UnknownHostException{ //로컬 호스트를 이용한 InetAddress 객체 생성 InetAddress a=InetAddress.getLocalHost(); //호스트 이름을 문자열로 반환 System.out.printf("호스트 이름: %s %n", a.getHostName()); //호스트에 대한 IP주소 반환 System.out.printf("호스트 IP주소 :%s %n", a.getHostAddress()); //java.sun.com에 대응하는 InetAddress 객체 반환 a=InetAddress.getByName("java.sun..
Java
2017. 12. 29. 14:24