[3227] in java-interest

home help back first fref pref prev next nref lref last post

friends

daemon@ATHENA.MIT.EDU (Jeffrey D. Chung)
Fri Nov 3 17:05:11 1995

From: jdchung@viper.cis.upenn.edu (Jeffrey D. Chung)
To: java-interest@java.sun.com
Date: Fri, 3 Nov 1995 13:52:19 -0500 (EST)

Two questions:

	1. Any guesses if Sun is going to implement friends of classes?
		I can give about 1,000 examples of where 'friends'
		would be a nice feature.

	2. If I have a void function which -- as the last statement
		invokes another function, does Java save state
		(and thus waste space?) -- Would it be more efficient
		to call foo() and bar() from the same frame or does it
		matter?

	Example:

		foo();

			foo() {
				bar();
			}

		or would it be better simply to do:

		foo();
		bar();

	Yes, I know -- this example seems stupid...

-Jeff Chung
jdchung@viper.cis.upenn.edu
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post