Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: Java Interview questions

Thread Tools

Re: Java Interview questions

Chris Smith
Posts: n/a
SMMT wrote:
> You are right. I anwser thinking the class would just have 1 method. (I
> coded an example to be shour). In that context: an abstract class is a class
> with an abstract method.

This piece of imported C++-ism (that an abstract class is a class with
at least one pure virtual (or, in Java terms, abstract) method) doesn't
apply to Java. The only such constraint is that a class with at least
one abstract method must be an abstract class. The converse is not
true. java.awt.Component provides an example.

The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please come and add questions to C++ interview questions onListenVoice Vijay C++ 2 05-07-2010 03:02 PM
ASP Interview Questions ASP Interview Questions reema ASP General 0 08-26-2008 11:57 AM
Java and Java EE Interview Questions Dharmendra Java 1 03-19-2008 11:14 PM
.NET Interview Question, C#, ASP.NET Interview Questions dotnetuncle Javascript 0 10-30-2007 03:08 PM
Interview Questions in Java and Java EE pundeerd Java 1 06-07-2007 12:27 AM