11. お題②
以下のソースコードのコンパイルエラーを解消してください。
11
class TestClass {
public Int getNumber() {
String name = 'test';
if (name.equals('test')) {
return 10;
Boolean isSuccess = True
return;
}
public Int getNumber() {}
public Account getAccountById(Id targetId) {
return [
SELECT
Id
,Name
,Industry
FROM
Account
WHERE
Id = targetId
];
}
}