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 a nested list?

0 Answers  


What are decalarations?

0 Answers  


How to invoke external process in java.

0 Answers  


What is the difference between an argument and a parameter?

0 Answers  


Explain heap sort?

0 Answers   Flextronics,






What is casting?

3 Answers  


Java is Pass by Value or Pass by Reference?

0 Answers   BirlaSoft,


how to handle http request in struts

2 Answers   Polaris,


how can you say that java is independ language

2 Answers   TCS, Wipro,


1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


Is it possible to instantiate the abstract class?

0 Answers  


Why local variables are stored in stack?

0 Answers  


Categories