can we write a program with out a class in core java?
Answer Posted / navneet raushan
Yes, with the help of static block we can write a program.
static block executed first always
| Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
Can we declare array without size in java?
What is the final class modifier?
What flag up means?
What is the meaning of find and replace?
Can I overload to string method
What is the association?
What is anagram word?
Why java is called not pure object oriented language?
Why java is object oriented?
What is difference between classpath and path variables in java?
What will happen if a thrown exception is not handled?
Can we use static class instead of singleton?
What does a boolean method return?
What is unicode full form?
What is Mutex (Mutual Exclusion Object) ?