Answer Posted / hrindows@gmail.com
A class in Java is a blueprint that includes all your data. A class contains fields (variables) and methods to describe the behavior of an object. Let’s have a look at the syntax of a class.
class Abc {
member variables // class body
methods}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between class forname and new?
What do you mean by chromounits in java8?
What is toarray method in java?
What are the advantages of java?
Difference between arraylist and hashset in java?
How to retrieve data from database in java using arraylist?
How do you define a method?
Compare overloading and overriding?
What is the purpose of garbage collection in java? When is it used?
What is a Transient Object?
Which is dependent variable?
Explain about class in java?
What is called module?
What is a bufferedreader?
What is meant by null and void?