Another_class - " num_object=" num_object public...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class Another_class { static int num_print= 0; static int num_object= 0; String name; int my_count =0; public Another_class(String s) { num_object++; my_count++; name= s; System.out.println(name + " my_count= " + my_count
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: + " num_object= " + num_object); } public static void print_it(int num) { num_print++; System.out.println("Call number " + num_print + " : " + num); } }...
View Full Document

This note was uploaded on 10/12/2009 for the course CSC CSC 110 taught by Professor Anne during the Fall '04 term at University of Victoria.

Ask a homework question - tutors are online