代码搜索:getClass
找到约 825 项符合「getClass」的源代码
代码结果 825
www.eeworm.com/read/430096/8766826
java ex11(5).java
// arrays/Ex11.java
// TIJ4 Chapter Arrays, Exercise 11, page 774
// Show that autoboxing doesn't work with arrays.
import static org.greggordon.tools.Print.*;
public class Ex11 {
public stati
www.eeworm.com/read/430096/8766861
java ex8(4).java
// arrays//Ex8.java
// TIJ4 Chapter Arrays, Exercise 8, page 762
// Demonstrate the assertions in the previous paragraph.
class A {}
public class Ex8 {
@SuppressWarnings("unchecked")
T[
www.eeworm.com/read/283953/8976407
java ttongxin.java
import java.awt.*;
import java.applet.*;
import java.util.*;
public class Ttongxin extends Applet{
Applet ap,aps;
Enumeration e;
public void paint(Graphics g){
int i=70;
ap=(Applet)getA
www.eeworm.com/read/281848/9129794
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/281848/9129928
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/281848/9129977
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
www.eeworm.com/read/281848/9130136
java ex11(5).java
// arrays/Ex11.java
// TIJ4 Chapter Arrays, Exercise 11, page 774
// Show that autoboxing doesn't work with arrays.
import static org.greggordon.tools.Print.*;
public class Ex11 {
public stati
www.eeworm.com/read/281848/9130168
java ex8(4).java
// arrays//Ex8.java
// TIJ4 Chapter Arrays, Exercise 8, page 762
// Demonstrate the assertions in the previous paragraph.
class A {}
public class Ex8 {
@SuppressWarnings("unchecked")
T[
www.eeworm.com/read/377523/9272980
java familyvsexacttype.java
//: c12:FamilyVsExactType.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// The difference between instanceof and class
cla
www.eeworm.com/read/376524/9315619
java bakespeed.java
public class BakeSpeed
{
public BakeSpeed()
{
}
public int getBakePrice()
{
return BakePrice;
}
private int BakePrice= 0;
}
class Fast extends BakeSpeed
{
public Fast()