题目
题目

CSE-110-OD25-27 2.1: Lesson and Knowledge Check - Study Hall Video Episode 2

单项选择题

In Java, what is the purpose of an assignment statement?

选项
A.To set the value of a variable
B.To allocate memory to a variable
C.To specify the data type
D.To convert data into binary
查看解析

查看解析

标准答案
Please login to view
思路分析
When assessing what an assignment statement does in Java, we start by identifying the core operation it performs on variables and values. Option 1: 'To set the value of a variable' correctly describes the primary purpose of an assignment statement. It takes a value (from an expression on the right) and stores it......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!