Can we write a class without main method in java?
Answer / Pallavi Saxena
Yes, it is possible to write a class without a main method. Such classes cannot be executed on their own.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are types of Java applications?
what is Abstract DataType?
Explain the use of shift operator in java. Can you give some examples?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.
Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify
What is the functionability stubs and skeletons?
Can we instantiate Interfaces?
Why can we not override static method?
Is space a string in java?
Define how does a try statement determine which catch clause should be used to handle an exception?
what are depricated methods ?
What is variable length arguments in java?