what is synchronization and why is it important? : Java thread
No Answer is Posted For this Question
Be the First to Post Answer
Define jit compiler?
what is private constructor?what are the uses of writing private constructor in our program?
What is a Java package and how is it used?
Is string pool garbage collected?
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?
What are the Class Libraries ?
What is main string [] args?
When will you define a method as static in Java?
0 Answers SwanSoft Technologies,
What do you mean by ternary operator in java?
What is a predicate method?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?