package com.czh; public class Calculation {double a;double b;public void sum(){System.out.println(a+b);}public void sub(){System.out.println(a-b);}pub ...
分类:
其他好文 时间:
2016-05-24 16:52:56
阅读次数:
287
34.编写2个接口:InterfaceA和InterfaceB;在接口InterfaceA中有个方法void printCapitalLetter();在接口InterfaceB中有个方法void printLowercaseLetter();然 后写一个类Print实现接口InterfaceA和I ...
分类:
编程语言 时间:
2016-05-24 16:50:59
阅读次数:
231
第一步:外界需要传表情按钮点击时候的数据过来 - (void)publishTextViewWith:(YSWeiBoEmotion *)emotion { if (emotion.code) { [self insertText:emotion.code.emoji];// 把emoji表情的16 ...
分类:
其他好文 时间:
2016-05-24 16:50:41
阅读次数:
118
一、连接Access数据库 1.使用已有DSN的连接字符串进行连接(ODBC) //导入命名空间using System.Data.Odbc;protected void Page_Load(Object sender,EventArgs e){ //设置连接字符串 String connstr=@ ...
分类:
数据库 时间:
2016-05-24 16:46:23
阅读次数:
304
public void ReadEXCEL(string filePath) { IWorkbook wk = null; string extension = System.IO.Path.GetExtension(filePath); try { FileStream fs = File.Ope ...
分类:
其他好文 时间:
2016-05-24 15:19:52
阅读次数:
177
中国特色社会主义的体制中有这样的现象:地方省政府要坚持党的领导和按 照国务院的指示进行安全生产。请编写一个java应用程序描述上述的体制现象。 要求如下: (1)该应用程序中有一个“党中央”接口:CentralPartyCommittee,该接口中 有个“坚持党的领导”方法:void partyLe ...
分类:
编程语言 时间:
2016-05-24 15:12:58
阅读次数:
398
package lianxi; public class Yuan { public static void main(String[] args) { double r=3.0; double circle=2*r*Math.PI; double area=Math.PI*r*r; System. ...
分类:
编程语言 时间:
2016-05-24 15:09:15
阅读次数:
703
package lianxi; public interface InterfaceA { void printCapitalLetter(); } package lianxi; public interface InterfaceB { void printLowercaseLetter(); ...
编写2个接口:InterfaceA和InterfaceB;在接口InterfaceA中有个方法void printCapitalLetter();在接口InterfaceB中有个方法void printLowercaseLetter(); 然后写一个类Print实现接口InterfaceA和Inte ...
分类:
其他好文 时间:
2016-05-24 15:01:52
阅读次数:
136
编写2个接口:InterfaceA和InterfaceB;在接口InterfaceA中有个方法void printCapitalLetter();在接口InterfaceB中有个方法void printLowercaseLetter();然 后写一个类Print实现接口InterfaceA和Inte ...
分类:
编程语言 时间:
2016-05-24 14:58:58
阅读次数:
147