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 |
Difference between a Scrollbar and a ScrollPane?
Which types of exceptions are caught at compile time?
Describe the term diamond problem.
What are different types of references?
what is singlton class?where it is use in real time senario.
What is the inheritance?
Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.
What is string length in java?
garbate collector(GC)?
Why volatile is used in java?
What is the Layout for ToolBar?
What is treemap in java?