Define a java class.
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 |
What is the purpose of static methods and variables?
What is the difference between Resultset and Rowset.
Explain java heap space and garbage collection?
Can inner class final?
what is the difference between preemptive scheduling and time slicing? : Java thread
Any one can explain how the inerface uses in java. give with example.
Define inheritance?
What is method in java ?
When do I need to use reflection feature in java?
Which of the following can be referenced by a variable? A. The instance variables of a class only B. The methods of a class only C. The instance variables and methods of a class
What is an object in java?
What is annotation in java?