من ملف .class إلى كود يعمل
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
trace a Java source file through compilation to execution.
الموضوعات المخطط لها
javacturns.javainto.classfiles holding bytecode, a portable instruction set.- The JVM loads classes on demand, verifies them, then runs the bytecode.
- Bytecode is not machine code; the JVM interprets it, then compiles hot parts to machine code.
- "Write once, run anywhere" works because the JVM, not your code, is platform-specific.
تفاصيل المخطط المبدئي
عرض عملي
Shop.java --javac--> Shop.class --JVM: load, link, init--> interpret / JIT --> CPUاختبر فهمك
What does javac produce?
أظهر الإجابة
Bytecode in .class files, not machine code.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.