The Artima Developer Community
Sponsored Link

Java Answers Forum
interface and inheritance fill in

2 replies on 1 page. Most recent reply: Jul 8, 2011 12:28 AM by Bret Brown

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
alex yang

Posts: 1
Nickname: kidico
Registered: Mar, 2011

interface and inheritance fill in Posted: Mar 13, 2011 6:43 PM
Reply to this message Reply
Advertisement
1. An interface definition is limited to having only ______________________________ and
________________________________.

2. A concrete class cannot have ___________________________________ declared in its definition.

3. A _____________ class cannot have any subclasses.
The keyword to denote inheritance of interface is ______________________.

4. The keyword to denote inheritance of implementation is ______________________.


Nikhil Kavungal

Posts: 1
Nickname: nikhilkj
Registered: Apr, 2011

Re: interface and inheritance fill in Posted: Apr 4, 2011 4:24 AM
Reply to this message Reply
I Think these are the answers . Pls Correct me if I am Wrong .

1)An interface definition is limited to having only final Variables and Method Signatures.

2)A concrete class cannot have abstract keyword or abstract method declared in its definition.

3)A Private/ Final class cannot have any subclasses.

4) The keyword to denote inheritance of implementation is extends.

Bret Brown

Posts: 5
Nickname: bretwt91
Registered: Jun, 2011

Re: interface and inheritance fill in Posted: Jul 8, 2011 12:28 AM
Reply to this message Reply
1. An interface definition is limited to having only ____abstract methods and
static final variable___.

2. A concrete class cannot have___abstract keyword or abstract method___declared in its definition.

3. A __Final___ class cannot have any subclasses.
The keyword to denote inheritance of interface is _implements_.

4. The keyword to denote inheritance of implementation is _extends_.

Flat View: This topic has 2 replies on 1 page
Topic: Help With Text Field Labels Previous Topic   Next Topic Topic: OutOfMemoryError: Java heap space

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use