常量: #include <iostream>
using namespace std;
class A
{
public:
virtual void func() {cout << "func A" << endl;}
};
class B : public A
{
public:
void func() const {cout << "func B" <
public void onReceive(Context context, Intent intent) {
// Retrieves a map of extended data from the intent.
final Bundle bundle = intent.getExtras();
try {
if (bundle != null)