What are the types of classes in java?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / moonali roul
String class, StringBuffer class, Math class, Wrapper class
Is This Answer Correct ? | 9 Yes | 18 No |
What is the difference between a window and a frame in java programming?
How to print nodes of a Binary tree?
What is the use of TL?
How the elements are organized in GridLayout?
what is an objects lock and which objects have locks? : Java thread
What is the file extension for java?
How to create an instance of a class if the class has private constructor?
Java.util.regex consists of which classes?
What are null interfaces in JAVA ? and give me some examples?
how to one war file class to another war file class?
What is runtime locatable code?
Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?