1. 解析程序包出问滴题怎么办。
是解压吧,如果这样的话,可能您的压缩包文件不完整,重新压缩下吧亲
2. oracle题目(编写一个程序包,此程序包中有一个过程和一个函数。以下省略,请看补充)
create or replace package pk2 is procedure jobs(empid scott.emp.job%type,numbs out number); function depts(deptid scott.emp.deptno%type) return number;end pk2;/create or replace package body pk2 is procedure jobs(empid scott.emp.job%type,numbs out number) is begin select count(*) into numbs from emp where job = empid; exception when others then numbs := 0; end; function depts(deptid scott.emp.deptno%type) return number is numbs number; begin select count(*) into numbs from emp where deptno = deptid; return numbs; exception when others then return 0; end;end pk2;/
3. java教材里的一道编程题:(接口与程序包)。帮忙解决一下。。。
public class AppMain extends Thread{
//温度&湿度 传感器对象
private Sensors tSensors;
private Sensors hSensors;
public AppMain(){
this.tSensors = new TempSensors();
this.hSensors = new HmitSensors();
}
public void run(){
try{
while(true){
//检测温度
if(!Controller.monitor(tSensors)){
Controller.Regulate(new TempRegulator());
}
//检测湿度
if(!Controller.monitor(hSensors)){
Controller.Regulate(new HmitRegulator());
}
//线程休眠5分钟
sleep(5 * 60 * 1000);
}
}catch(Exception e){
e.printStackTrace();
}
}
public static void main(String[] args){
AppMain main = new AppMain();
main.start();
}
}
public class Controller{
public static boolean monitor(Sensors sensors){
return sensors.monitor();
}
public static void Regulate(Regulator regulator){
regulator.reglate();
}
}
public interface Sensors{
boolean monitor();
}
import java.util.Random;
public class TempSensors implements Sensors{
private Random random; //伪随机数发生器
public TempSensors(){
random = new Random();
}
public boolean monitor() {
//获取温度
int temp = random.nextInt();
//检测温度
if(temp > 25){
return false;
}else{
return true;
}
}
}
import java.util.Random;
public class HmitSensors implements Sensors{
private Random random; //伪随机数发生器
public HmitSensors(){
random = new Random();
}
public boolean monitor() {
//获取湿度
int hmit = random.nextInt();
//检测湿度
if(hmit > 15){
return false;
}else{
return true;
}
}
}
public interface Regulator {
void reglate();
}
public class TempRegulator implements Regulator{
public void reglate() {
//警告
System.out.println("Warning, Temperature anomaly!");
//开始调节温度
System.out.println("begin to Adjust the temperature!");
}
}
public class HmitRegulator implements Regulator{
public void reglate() {
//警告
System.out.println("Warning, Humidity anomaly!");
//开始调节湿度
System.out.println("begin to Adjust the humidity!");
}
}
4. 推荐一个C语言程序包~我是初学者
TC 或Borland C 都不错的。呵呵,书也好找,可以试试。
5. 俺是新手在搭建rac的时候,安装oracleasmlib程序包的时候出现这问题是啥原因啊???小弟新手
安装asm有三个包,仅仅装一个是不行的,三个都要装上去,你上面的问题就是还需要其他包。
uname -a看一下你的内核参数,一定要看清楚是x86平台的还是i386平台的
根据内核参数去这里下载对应的包
http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel4-092650.html
三个包分别是oracleasm,oracleasmlib和oracleasm-support
比如你的内核参数是oracleasm-2.6.9-103.ELsmp x86的
那就需要下面三个包
oracleasm-2.6.9-103.ELsmp-2.0.5-1.el4.x86_64.rpm
oracleasmlib-2.0.4-1.el4.x86_64.rpm
oracleasm-support-2.1.7-1.el4.x86_64.rpm
6. PS新手,想要素材以及练习题,有步骤清晰的说明,谢谢,急求
可以上www.68ps.com去看看实例。
7. 请问谁有proe5.0三维造型练习题发给我,最好有详细步骤,我是新手谢谢!!
留QQ发个你
8. 求 JAVA 程序练习题,初学者入门练手用的.
不知道你学到了哪里,如果可以加我QQ或者是所以下你学到哪了我好发给你题: