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 will happen if a thrown exception is not handled?

0 Answers   ABB, Akamai Technologies, Infogain,


why do we use interface in java?

5 Answers  


What is identifier with example?

0 Answers  


Explain about join() method?

0 Answers  


Explain JPA in Java.

1 Answers  


which class is the wait() method defined in? : Java thread

0 Answers  


Why is multithreading important?

0 Answers  


What is Servlet?

8 Answers  


What happens if an exception is not caught?

6 Answers   Amazon,


Explain implementation and how is it different from conversion?

0 Answers   Aricent,


Does garbage collection guarantee that a program will not run out of memory?

1 Answers  


What is the instance of an object?

0 Answers  


Categories