开发者

Why are superclass The superclass is parameterized in JAVA [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.
package com.android.example.spinner.test;

import com.android.example.spinner.SpinnerActivity;

impo开发者_JAVA技巧rt android.test.ActivityInstrumentationTestCase2;

public class SpinnerActivityTest extends
  ActivityInstrumentationTestCase2<SpinnerActivity> {



}


This is because we are declaring that SpinnerActivityTest is a specific type of ActivityInstrumentationTestCase2 – one that deals in some way with SpinnerActivity objects.

As to how SpinnerActivity is significant to the TestCase class, well, you would have to look at the class concerned.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜