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 the function of compareto in java?

0 Answers  


How to set the permissions to a file in java?

0 Answers  


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

0 Answers  


What are java annotations?

0 Answers  


What is the difference between yielding and sleeping in java programming?

0 Answers  


What problems will occur when you don?t use layout managers?

1 Answers  


What is difference between length and length() method in java ?

0 Answers  


Why is core java important?

0 Answers  


what is sendredirect?

7 Answers   TCS,


Enlist few advantages of inheritance?

0 Answers  


why java does not support multiple inheritance

41 Answers   Diamond, Euclid, Evergent, KLKJ, Mind Tree, NIIT, SSI Small Scale Industries, Wipro,


What is communist flag?

0 Answers  


Categories