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
What is the purpose of abstract class?
What is the use of list in java?
What are java methods?
Which java collection does not allow null?
What are the differences between c++ and java?
What is ascii format?
What are the states of thread in java?
Can arraylist contain null values?
What is the difference between dom and sax parser in java?
What is meant by inheritance and what are its advantages?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Is there any tag in htm to upload and download files?
What do you mean by jjs in java8?
What do you know about the garbate collector?
Can a constructor call another constructor?