What are the types of classes in java?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of variables are there?

685


What is a variable analysis?

646


How can you read content from file in java?

603


What is a local block?

652


What is difference between call by value and call by reference?

506






How can u increase the heap size in the memory?

564


Why is stringbuffer called mutable?

575


Define an abstract class with reference to java.

586


Highest level event class of the event-delegation model?

3509


When will we use them?

605


What is the final variable?

587


Explain importance of inheritance in java?

613


What is object cloning in Java?

643


Are primitives objects?

572


Can a static member function access member variable of an object?

568