getAttribute(String name):返回以name为名字的属性的值,不存在返回nullgetAttributeNames():返回请求中所有可用的属性名称,没有属性,返回一个空的枚举集合removeAttribute(String name):移除请求中名字为name的属性setAt...
分类:
其他好文 时间:
2015-03-28 17:08:07
阅读次数:
115
输入代码:
/*
*Copyright (c)2015,烟台大学计算机与控制工程学院
*All rights reserved.
*文件名称:sum123.cpp
*作 者:林海云
*完成日期:2015年3月28日
*版 本 号:v2.0
*
*问题描述:设计一个工资类,输入职工人数和员工工资,涨工资并排序后,打印出更改后的工资表
*程序...
分类:
编程语言 时间:
2015-03-28 15:48:16
阅读次数:
161
Given a string s consists of upper/lower-case alphabets and empty space characters
' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is defi...
分类:
其他好文 时间:
2015-03-28 15:46:51
阅读次数:
131
static void Main(string[] args) { while (true) { string a; Console.WriteLine("请问你有房吗:"); a = Console.ReadLine(); if (a == "有") { Console.WriteLine("请....
分类:
其他好文 时间:
2015-03-28 15:46:08
阅读次数:
176
static void Main(string[] args) { while (true) { int a; Random r = new Random(); a = r.Next(0,24); Console.WriteLine(a); if (a >= 0 && a = 6 && a = 12...
分类:
其他好文 时间:
2015-03-28 15:46:05
阅读次数:
150
static void Main(string[] args) { while (true) { int x, y,z; string a, b,c; Random r=new Random();//这个是用的随机数随机生成,并且利用switch case赋予x,y,z成为"剪刀"石头""布""的含...
分类:
其他好文 时间:
2015-03-28 15:45:16
阅读次数:
119
static void Main(string[] args) { Console.ForegroundColor = ConsoleColor.Green; Console.Clear(); while (true) { Console.WriteLine("求方程式ax²+bx=c=0的根的情况...
分类:
其他好文 时间:
2015-03-28 15:40:03
阅读次数:
118
目标:将新创建的文件保存在 Tomcat 服务器对应的文件夹下在 Servlet 的主要代码如下: private ServletContext sc; private String filename; //保存文件名 @Override public void init(ServletConfig...
分类:
其他好文 时间:
2015-03-28 15:39:35
阅读次数:
127
using System;namespace Frank{ public class Sample { public static void Main(string[] args) { var name = "Bugs Bunny"; ...
分类:
其他好文 时间:
2015-03-28 15:37:39
阅读次数:
106
#include
#include
using namespace std;
class String_date
{
private:
char * str;
public:
String_date(char * str);
~String_date();
char* get_infor()
{return str;}
};
String_date::Str...
分类:
编程语言 时间:
2015-03-28 14:29:28
阅读次数:
269