代碼如下():
package com.example.activitytest;
import android.os.Bundle;
import android.app.Activity;
public class FirstActivity extends Activity {
@Override
protected void onCreate(Bundle saveInstanceState){
super.onCreate(savedInstanceState);
}
但是提示最後一行代碼有問題: savedInstanceState cannot be resolved????
怎麼解決?大神教導,實在不知怎麼解決。謝謝回答!!!
protected void onCreate(Bundle saveInstanceState)//這裡是saveInstanceState
{super.onCreate(savedInstanceState);
//這裡是savedInstanceState
saveInstanceState和savedInstanceState這兩個單詞一樣嗎?它能不報錯?