19. Which of the following is true of a Java bytecode file?
A. It can be run on any computer with a compatible JVM.
B. It can only be executed on the same type of computer that it was created on.
C. It can be easily read and modified in a standard text editor.
D. It requires the corresponding .java that created it to execute.
Java bytecode dosyasını bir .java adlı bir dosyamızı javac toolu ile derledikten sonra .class uzantılı bytecodu elde ederiz.Örneğin Human.java adlı bir filemız olsun bunu javac ile hatasız derledikten sonra Human.class bytecodu elde ederiz.Şıklarla karşılaştırarak gidelim.Öncelikle D şıkkı yanlış çünkü bu dosyayı execute etmek için .java dosyasına tekrardan ihtiyacımız var diyo , ki , bu yanlıştır bunu her türlü platformda çalıştırabiliriz.C şıkkı yanlış bu bytecodu herhangi bir text editoründe okuyamayız.Google'a Java bytecode yazarak nasıl göründüğüne bakabilirsiniz.B şıkkı yanlış diyo ki sadece oluşturulduğu bilgisayarın aynı türünde execute edilebilir , java platform bağımsızdır.A şıkkı doğru , uyumlu olduğu jvm ile herhangi bir bilgisayarda çalıştırılabilir .
20. What is the correct character for terminating a statement in Java?
A. A colon ( : )
B. An end-of-line character
C. A tab character
D. A semicolon ( ; )
Bir java statementi ; ile bitirilir.