代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/388617/8595076
cpp mytime0.cpp
// mytime0.cpp -- implementing Time methods
#include
#include "mytime0.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m
www.eeworm.com/read/388617/8595115
cpp mytime2.cpp
// mytime2.cpp -- implementing Time methods
#include
#include "mytime2.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m
www.eeworm.com/read/388617/8595119
cpp mytime1.cpp
// mytime1.cpp -- implementing Time methods
#include
#include "mytime1.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m
www.eeworm.com/read/388617/8596204
cpp mytime0.cpp
// mytime0.cpp -- implementing Time methods
#include
#include "mytime0.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m
www.eeworm.com/read/388617/8596240
cpp mytime2.cpp
// mytime2.cpp -- implementing Time methods
#include
#include "mytime2.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m
www.eeworm.com/read/388617/8596246
cpp mytime1.cpp
// mytime1.cpp -- implementing Time methods
#include
#include "mytime1.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m
www.eeworm.com/read/430096/8766395
java functional42.java
// generics/Functional42.java
// TIJ4 Chapter Generics, Exercise 42, page 743
/*
* Create two separate classes, with nothing in common. Each class should
* hold a value, and at least have methods
www.eeworm.com/read/430096/8767273
java rodent1.java
// interfaces/rodent/Rodent1.java
// TIJ4 Chapter Interfaces, Exercise 1, page 315
/* Modify Exercise 9 in the previous chapter so that Rodent is an abstract class.
* Make the methods of Rodent abs
www.eeworm.com/read/430096/8767275
java ex4.java
// interfaces/Ex4.java
// TIJ4 Chapter Interfaces, Exercise 4, page 315
/* Create an abstract class with no methods. Derive a class and add a method.
* Create a static method that takes a referenc
www.eeworm.com/read/430096/8767293
java ex2.java
// interfaces/Ex2.java
// TIJ4 Chapter Interfaces, Exercise 2, page 315
// Create a class as abstract without including any abstract methods, and verify
// that you cannot create any instances of t