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 type of variable is error flag?
Why stringbuffer is faster than string?
Is hashset ordered?
Why char array is preferred over string for storing password?
Can this keyword be used to refer static members?
What is methods in java?
What is arrays sort in java?
What are the kinds of polymorphism?
Can a class be private or protected in java?
What are the basic concepts of OOPS in java?
What is meant by class and object in java?
What is your platform?s default character encoding and how to know this?
What are Normalization Rules? Define Normalization?
What is the use of volatile in java?
Explain the private protected method modifier?