代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/471115/6897353
java coaltotals.java
import java.sql.*;
public class CoalTotals {
public static void main(String[] arguments) {
String data = "jdbc:odbc:WorldEnergy";
try {
Class.forName("sun.jdbc.o
www.eeworm.com/read/471115/6897699
java coaltotalsxml.java
import java.io.*;
import java.sql.*;
public class CoalTotalsXML {
public static void main(String[] arguments) {
String data = "jdbc:odbc:WorldEnergy";
try {
Cla
www.eeworm.com/read/471157/6898357
java palindrome.java
package mymath;
public class Palindrome{
public boolean test(String strOriginal){
StringBuffer str=new StringBuffer(strOriginal);
String strReverse=str.reverse().toString();
while(strRever
www.eeworm.com/read/395876/8147476
java new11.java
// generics.New11.java
// TIJ4 Chapter Generics, Exercise 11, page 635
// Test New.java by creating your own classes and ensuring that
// New will work properly with them.
import net.mindview.util
www.eeworm.com/read/395876/8147535
java shapes3(1).java
// typeinfo/Shapes3.java
// TIJ4 Chapter Typeinfo, Exercise 3, page 561
/* Add Rhomboid to Shapes.java. Create a Rhomboid, upcast it to a Shape,
* then downcast it back to a Rhomboid. Try downcasti
www.eeworm.com/read/395876/8147540
java music26.java
// typeinfo/music268/Music268.java
// TIJ4 Chapter Typeinfo, Exercise 26, page 615
// Implement clearSpitValve() as described in the summary.
/* Solution includes, in same package:
* import java
www.eeworm.com/read/395876/8147541
java shapes5.java
// typeinfo/Shapes5.java
// TIJ4 Chapter Typeinfo, Exercise 5, page 561
/* Implement a rotate(Shape) method in Shapes.java, such that it checks
* to see if it is rotating a Circle (and, if so, does
www.eeworm.com/read/395876/8147548
java showmethods18.java
// typeinfo/ShowMethods18.java
// TIJ4 Chapter Typeinfo, Exercise 18, page593
// Make ShowMethods a non-public class and verify that the synthesized default
// constructor no longer shows up in the
www.eeworm.com/read/395876/8147565
java shapes4(1).java
// typeinfo/Shapes4.java
// TIJ4 Chapter Typeinfo, Exercise 4, page 561
/* Modify the previous exercise so that it uses instancof to check the
* type before performing the downcast.
*/
import jav
www.eeworm.com/read/395876/8147568
java shapes6.java
// typeinfo/Shapes6.java
// TIJ4 Chapter Typeinfo, Exercise 6, page 561
/* Modify Shapes.java so that it can "highlight" (set a flag in)
* all shapes of a particular type. The toString() method fo