1) What is object-oriented programming (OOP)? a) A) A programming paradigm based on classes and objects, aiming to model real-world entities using concepts such as inheritance, polymorphism, and encapsulation. b) B) A technique exclusively for designing graphical interfaces in desktop applications. c) C) A set of rules to write algorithms without variables or control structures. d) D) A low-level language used only for programming microcontrollers. 2) What is the difference between a compiler and an interpreter? a) A) A compiler translates the whole program into machine code before execution, while an interpreter translates and executes line by line. b) B) A compiler is only used for low-level languages, and an interpreter only for high-level languages. c) C) A compiler turns the program into graphical images, while an interpreter turns it into text. d) D) A compiler runs programs slower than an interpreter because it analyzes all the code multiple times. 3) Which of these data types are reference types? a) A) boolean b) B) integer c) C) String d) D) char 4) How many public classes can a single file have in Java? a) A) Up to two public classes per file. b) B) Only one public class per file. c) C) As many public classes as you want, no limit. d) D) None, public classes cannot be in files. 5) Which keyword is used to create a new instance of a class in Java? a) A) create b) B) instance c) C) object d) D) new
0%
Object-oriented programming
共用
共用
共用
由
Santytiradol
Tecnología
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?