Computer Science, asked by shivam1251, 3 months ago

Can a Program run without main memory?

Answers

Answered by yugsisodia694
1

Answer:

Yes, we can execute a java program without a main method by using a static block. Static block in Java is a group of statements that gets executed only once when the class is loaded into the memory by Java ClassLoader, It is also known as a static initialization block

Explanation:

i hope this helpful

Answered by hinapakistani
1

Answer:

Explanation:

If you're referring to a normal PC, no, you can't run it without separate RAM sticks attached, but that's only because the BIOS is designed not to attempt to boot with no RAM installed (which is, in turn, because all modern PC operating systems require RAM to run, especially since x86 machines typically don't allow you ...

Similar questions