if a java file without any source code is valid java file?
Answers were Sorted based on User's Feedback
Answer / kartik kudada
Yes, It is possible .
java file can be empty.
You could check it eclipse.
Is This Answer Correct ? | 15 Yes | 3 No |
yes a java file without any source code is valid java file.
it will compile without any error but while running it gives
error-
"could not find or load main class----"
Is This Answer Correct ? | 0 Yes | 0 No |
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008)
State the merge-sort principle and its time complexity.
0 Answers Akamai Technologies,
Can It is possible to synchronize the constructor of a Java Class?
Why main function is static?
What is the difference between the synchronized() & static synchronized()?
What is append in java?
What are three advantages of using functions?
explain System.out.println
107 Answers Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
How is hashcode calculated in java?
Why webdriver is an interface?
what is mutual exclusion? : Java thread
what is anonymous class in java?