代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/116603/14962637
java overloading.java
//: c04:Overloading.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Demonstration of both constructor
// and ordinary metho
www.eeworm.com/read/247171/4487293
vb overloading.vb
Option Strict Off
Class c
Function f()
End Function
Function f(ByVal i As Integer)
End Function
Function f(ByVal s As String)
End Function
Function f(ByVal i1 As Integer
www.eeworm.com/read/179906/5300910
java overloading.java
//: c04:Overloading.java
// Demonstration of both constructor
// and ordinary method overloading.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright noti
www.eeworm.com/read/353301/3086933
java overloading.java
public class Overloading {
public static void main(String[] args)
{
for(int i = 0; i < 5; i++)
{
Tree t = new Tree(i);
t.info();
t.in
www.eeworm.com/read/353301/3087000
java overloading.java
public class Overloading
{
public static void main(String[] args)
{
for(int i = 0; i < 5; i++)
{
Tree t = new Tree();
t.setHeight(i);
t.info();
www.eeworm.com/read/252364/4409039
java overloading.java
//: c04:Overloading.java
// Demonstration of both constructor
// and ordinary method overloading.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright noti
www.eeworm.com/read/230048/6789125
java overloading.java
//: c04:Overloading.java
// Demonstration of both constructor
// and ordinary method overloading.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright noti
www.eeworm.com/read/395876/8148463
java overloading.java
// object/Overloading.java
// TIJ4 Chapter Object, Exercise 16, page 91
/* In the Initialization and Cleanup chapter, locate the Overloading.java
* example and add Javadoc documentation. Extract th
www.eeworm.com/read/292512/8350024
java overloading.java
//:c4 :Overloading.java
import java.util.*;
class Tree
{
int height;
Tree()
{
prt("Planting a seeding");
height=0;
}
Tree(int i)
{
prt("Creating a new tree that is "+i+"feet ta