9 lines
		
	
	
		
			120 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			9 lines
		
	
	
		
			120 B
		
	
	
	
		
			C++
		
	
	
	
	
	
|  | #include "RectangleDef.h"
 | ||
|  | 
 | ||
|  | int Rectangle::instanceCount = 0; | ||
|  | 
 | ||
|  | int Rectangle::area() | ||
|  | { | ||
|  |    return width*height; | ||
|  | } |