代码搜索:getClass
找到约 825 项符合「getClass」的源代码
代码结果 825
www.eeworm.com/read/292139/8375715
java runtimeinfo.java
public class Runtimeinfo
{
public String getinfo(Object obj)
{
String result = "值为 "+obj.toString();
if (obj instanceof Integer)
{
Integer intobj = (
www.eeworm.com/read/192361/8384790
java arraygrowtest.java
/**
* @version 1.00 11 Mar 1997
* @author Cay Horstmann
*/
import java.lang.reflect.*;
import corejava.*;
public class ArrayGrowTest
{ public static void main(String[] args)
{ int[
www.eeworm.com/read/390596/8457525
java runtimeinfo.java
public class Runtimeinfo
{
public static void main (String args[])
{
int i=123;
String str = new String(i+"");
System.out.printl
www.eeworm.com/read/390596/8457531
bak runtimeinfo.java.bak
import java.util.*;
public class Runtimeinfo
{
public static void main (String args[])
{
int i=123;
String str = new String(i+"");
www.eeworm.com/read/390105/8485994
java sound.java
import java.applet.AudioClip;
import javax.swing.JApplet;
import java.net.URL;
public class Sound
{
AudioClip bgAudio1,bgAudio2;
private URL url1,url2;
public Sound()
{
url1
www.eeworm.com/read/390105/8486056
java sound.java
import java.applet.AudioClip;
import javax.swing.JApplet;
import java.net.URL;
public class Sound
{
AudioClip bgAudio1,bgAudio2;
private URL url1,url2;
public Sound()
{
url1
www.eeworm.com/read/430096/8766400
java holders30.java
// generics/Holders30.java
// TIJ4 Chapter Generics, Exercise 30, page 696
// Create a Holder for each of the primitive wrapper types, and show that
// autoboxing and autounboxing works for the set
www.eeworm.com/read/430096/8766546
java ex8(3).java
// typeinfo/Ex8.java
// TIJ4 Chapter Typeinfo, Exercise 8, page 562
// Write a method that takes an object and recursively prints all
// the classes in that object's hierarchy.
class A {}
cl
www.eeworm.com/read/430096/8766602
java ex9(2).java
// typeinfo/Ex9.java
// TIJ4 Chapter Typeinfo, Exercise 9, page 562
// Modify the previous exercise so that it uses Class.getDeclaredFields()
// to also display information about the fields in a c