正在加载图片...
Sending a message object Name Name of the object to Method Name Argument which we are sending a The name of the message The argument we are message we are sending passing with the message mainWindow. setVisible( true) More account deposit( 200.0) Examples student setName(john) car l. startEngine() C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 2-10© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 2 - 10 Sending a Message Method Name The name of the message we are sending. Object Name Name of the object to which we are sending a message. mainWindow . setVisible ( true ) ; Argument The argument we are passing with the message. More Examples account.deposit( 200.0 ); student.setName(“john”); car1.startEngine( );
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有