Our website uses necessary cookies to enable basic functions and optional cookies to help us to enhance your user experience. Learn more about our cookie policy by clicking "Learn More".
Accept All Only Necessary Cookies
Java SCJP on Android 아이콘

Java SCJP on Android


David Lang
1.32
  • Oct 10, 2015
    Update date
  • Android 2.1+
    Android OS

Java SCJP on Android 정보

Mock exam questions to help study for the SCJP Java 6 Exam.

333 Questions to help study for the SCJP Sun Certified Programmer for Java 6 Exam.

Asks a series of multiple choice questions to help study for the SCJP Version 1.6 exam.

The questions are displayed in random batches of 10 and a score is given at the end.

If a question is answered incorrectly, the correct answer is displayed and explained. Exam tips are displayed for some of the harder questions.

An example question is

What will be the result of attempting to compile and run the following code?

abstract class Base {

abstract void amethod();

static int i;

}

public class DLSoftwareSolutions extends Base{

public static void main(String argv[]){

int[] dl=new int[10];

for(i=0;i < dl.length;i++)

System.out.println(dl[i]);

}

}

OPTIONS

1) a sequence of 10 0's will be printed

2) Error: dl is used before it is initialized

3) Error: DLSoftwareSolutions must be declared abstract

4) IndexOutOfBoundes Error

ANSWER 3

The answer is 3) DLSoftwareSolutions must be declared abstract.

A class that contains an abstract method must itself be declared as abstract.

Exam Tip

---------------------------------------------------

abstract methods must be implemented by a subclass, so they must be inheritable.

abstract methods cannot be private.

abstract methods cannot be final.

abstract methods may have parameters, a return type, and optional throws clause, but are not implemented.

abstract methods end in a semicolon-no curly braces.

A single abstract method in a class means the whole class must be abstract.

An abstract class can have both abstract and nonabstract methods.

더 보기

추가 앱 정보

최신 버전

1.32

업로드한 사람

João Guedes

필요한 Android 버전

Android 2.1+

카테고리

무료 교육 앱

콘텐츠 등급

Unrated · Warning – content has not yet been rated. Unrated apps may potentially contain content appropriate for mature audiences only.

최신 버전 1.32의 새로운 기능

Last updated on Oct 10, 2015

Incorrect Answers fixed.

더 보기

Java SCJP on Android 스크린 샷

Java SCJP on Android 포스터Java SCJP on Android 스크린샷 1Java SCJP on Android 스크린샷 2Java SCJP on Android 스크린샷 3

관련 태그

지난 24시간 동안의 인기 기사

APKPure를 구독하십시오
최고의 Android 게임 및 앱의 초기 릴리스, 뉴스 및 가이드에 액세스하는 첫 번째 사람이 되십시오.
고맙지 만 사양 할게
가입하기
성공적으로 구독!
당신은 이제 APKPure에 가입되었습니다.