代码搜索:StringTest
找到约 144 项符合「StringTest」的源代码
代码结果 144
www.eeworm.com/read/314892/13556713
java stringtest.java
class StringTest{
public static void main(String args[]) {
String str = "This is the first string.";
boolean result1 = str.equals("This is the first string.");
boolean result2 = str.equal
www.eeworm.com/read/303985/13805405
java stringtest.java
/**
*针对String类创建对象的比较
*/
/*
*常量类型对待:如果堆中有该值,则直接返回引用:
* String a = "abcd";String b = "abcd";则a==b的值为true,a.equals(b)的值为true;
*new对象对待:新建对象:
* String a = new String("abc");String b
www.eeworm.com/read/136071/5875147
good stringtest.good
Value of a: Testing string constructor
Test string initial values:
This is test string a
This is test string b
This is test string c
a = b: This is test string b
a = b + c: This is test string bThis i
www.eeworm.com/read/133287/5906641
h stringtest.h
//
// StringTest.h
//
// $Id: //poco/Main/Foundation/testsuite/src/StringTest.h#5 $
//
// Definition of the StringTest class.
//
// Copyright (c) 2004, Guenter Obiltschnig/Applied Informatics.
www.eeworm.com/read/133287/5906707
cpp stringtest.cpp
//
// StringTest.cpp
//
// $Id: //poco/Main/Foundation/testsuite/src/StringTest.cpp#5 $
//
// Copyright (c) 2004, Guenter Obiltschnig/Applied Informatics.
// All rights reserved.
//
// Redistr
www.eeworm.com/read/124769/6040272
java stringtest.java
package dli2fe.test;
/**
* Title: Digial Library Interoperable Interface Fudan Edition
* Description: This project contains all the classes required for DLI2FE interface. Developers use
www.eeworm.com/read/485355/6559724
java stringtest.java
class StringTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
char chars[]={'S','t','u','d','y',' ','j','a','v','a','!'};
String s1 = new String(chars);
www.eeworm.com/read/485140/6565678
class stringtest.class
www.eeworm.com/read/485140/6565693
java stringtest.java
/* 例1.简单的字符串运算
* 例2.简单的单词析取示例1
* 例3.简单的单词析取示例2
*/
class StringTest
{
public static void main(String [] args)
{
String s1="ss"+25*3;
String s2="ss"+25+3;
System.out.println(s1