11th Ferbruary Codes
来源:互联网 发布:单片机应用技术 编辑:程序博客网 时间:2024/05/01 13:41
class Address {private String country;private String province;private String avenue;private String zipCode;public Address(String country,String province,String avenue,String zipCode) {this.country = country;this.province = province;this.avenue = avenue;this.zipCode = zipCode;}public void print() {System.out.println("Country: "+getCountry());System.out.println("Province: "+getProvince());System.out.println("Avenue: "+getAvenue());System.out.println("Zip Code: "+getZipCode());}public void setCountry(String country) {this.country = country;}public String getCountry() {return country;}public void setProvince(String province) {this.province = province;}public String getProvince() {return province;}public void setAvenue(String avenue) {this.avenue = avenue;}public String getZipCode() {return zipCode;}public void setZipcode(String zipCode) {this.zipCode = zipCode;}public String getAvenue() {return avenue;}}public class E0101 {public static void main(String args[]) {Address add = new Address("China","Guangdong","Avenue One","51000");add.print();}}
0 0
- 11th Ferbruary Codes
- codes
- codes
- codes
- The 7th Southwest Jiao Tong University Programming Contest—— Critical codes for selected problems
- 工作点滴 - Oct.10th~11th
- November 11th Wednesday
- December 11th Saturday
- 10-04-11TH
- November 11th UVALive
- Th
- th
- 11th-20th things after installing Ubuntu12.04
- 2008 December 11th Thursday
- January 11th Monday 2010
- March 11th Thursday 2010
- March 11th Thursday 2010
- zoj 11th programing contest
- sdut2763 好玩的五次方(大数相乘)
- LeetCode - Swap Nodes in Pairs
- HDU 3498 DLX 重复覆盖
- [LeetCode] - Copy List with Random Pointer
- UVA 12174 - Shuffle(技巧枚举+预处理)
- 11th Ferbruary Codes
- 基类(base class)和派生类(derived class)指针在C++的相互转化
- URAL 1018 Binary Apple Tree 简单树形背包
- hdu1020 Encoding(A2B3C)
- Anagrams
- sdut2125 串结构练习——字符串匹配(strstr求子串)
- CF 219D 树形dp
- [leet code] Insertion Sort List
- Two Sum