What are the types of classes in java?

Answers were Sorted based on User's Feedback



What are the types of classes in java?..

Answer / 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

What are the types of classes in java?..

Answer / raj singh

There r 2 type of class in java , first is pre-define class( which r define in advance for diff. Purpose like String, StringBuffered ,Applet class. Some Of these classes stored in packages...) and other is user-define class ( which r define by the user for its usage's.

Is This Answer Correct ?    4 Yes 2 No

What are the types of classes in java?..

Answer / moonali roul

String class, StringBuffer class, Math class, Wrapper class

Is This Answer Correct ?    9 Yes 18 No

What are the types of classes in java?..

Answer / poojadayal1989

abstract fianl

Is This Answer Correct ?    2 Yes 20 No

Post New Answer

More Core Java Interview Questions

What is difference between final and immutable?

0 Answers  


How does indexof work?

0 Answers  


When can you say a graph to be a tree?

0 Answers   Amazon,


What is character in data type?

0 Answers  


What is defined as false sharing in the context of multithreading?

0 Answers  


Why stringbuffer is faster than string?

0 Answers  


Differece between class and generic class?

0 Answers   Tech Mahindra,


How two different class threads communicate with each other?. send example code.

4 Answers  


Can you make a constructor final in Java?

0 Answers   SwanSoft Technologies,


Is linked list a linear or non-linear data structure?

0 Answers   Akamai Technologies,


How can u create the Object of class Without using "New" opertor?

3 Answers   IBM, TCS,


Define an enumeration?

0 Answers  


Categories