What are the types of classes in java?

Answer Posted / vikram naidu

basically in java we have 2 types of classes. those are user
defined classes and pre defined classes. in both we can
differentiate the classes in 3 ways. those are interfaces,
abstract classes and concrete classes. Where we can't create
the objects for the abstract class and interfaces. by using
inheritance concept we can able to create the object of the
for the derived classes and assign those objects to the base
class references(according to OOP concept).

Thank you.

Is This Answer Correct ?    30 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

530


what is the difference between a threads start() and run() methods? : Java thread

518


What is the exception hierarchy in java?

480


What is cr keyboard?

650


What is queue in java?

552






What is character in data type?

544


What is meant by main method?

577


What is map java?

511


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1444


Why Java is not pure Object Oriented language?

637


What is basic syntax?

543


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

580


Can abstract class have private constructor?

494


What does those terms actually mean included in the j.d.k i.6?

1599


How do you clear a list in java?

595