What is the class in java?



What is the class in java?..

Answer / Kishore

"In Java, a class is a blueprint or template for creating objects. It defines the structure and behavior of those objects by declaring variables (fields) and methods that operate on those variables. Each object created from a class is an instance of that class, sharing its data structure and behavior."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is the use of thread?Justify it by project point of view

7 Answers  


Can we restart a thread already started in java?

1 Answers  


What is passing value java?

1 Answers  


Explain the polymorphism principle?

1 Answers  


what is domain object

1 Answers  


What is a instance variable?

1 Answers  


What is data type modifier?

1 Answers  


What is the difference between Error, defect,fault, failure and mistake?

1 Answers   HCL,


What is difference between array and vector?

1 Answers  


What is a deadlock ?

5 Answers  


What is operator overloading. Is it is supported in java?

1 Answers  


What does snprintf return?

1 Answers  


Categories