Define a java class.



Define a java class...

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

More Core Java Interview Questions

What is identifier with example?

0 Answers  


How GUI component handle its own events?

1 Answers  


What are the access modifiers in java?

0 Answers  


Is string a wrapper class?

0 Answers  


Why ArrayList class is not a synchronized class and why it is not a thread safe class? explain

1 Answers  






What is the difference between call by reference and call by pointer?

0 Answers  


What is ordered map in java?

0 Answers  


Why synchronization is important?

0 Answers  


what is object type casting? give some example with related?

2 Answers   HP, SparkTG,


What is the difference between a window and a frame in java programming?

0 Answers  


What does regex mean?

0 Answers  


What is string data type?

0 Answers  


Categories