方法引用04_方法引用_通过this引用本类的成员
packagecom.itheima.demo08.ThisMethodReference;/<pre<code使用this引用本类的成员方法</code</pre/publicclassHusband{<pre<code//定义一个买房子的方法public
packagecom.itheima.demo08.ThisMethodReference;/<pre<code使用this引用本类的成员方法</code</pre/publicclassHusband{<pre<code//定义一个买房子的方法public
<pre<codeinclude<stdio.h>intmain(){inta,b;intres0;scanf(&34;%d%d&34;,&a,&b);res((a/2)(b/3)(a/3)(b/2))2;