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

Is the milky way in a void?

749


Explain the difference between intermediate and terminal operations in java8?

791


Is 64bit faster than 32 bit?

798


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

882


what is mena by object block any what is the use of that

1972


What is the differences between heap and stack memory in java? Explain

727


What is string intern in java?

759


What is a boolean expression in java?

756


How does indexof work?

722


Explain the usage of this with constructors?

747


Why java is made?

751


Is set ordered in java?

768


What does it mean to flush a file?

784


What is autoboxing and unboxing?

762


What is basic syntax?

739