4. Interactions

{"title":"4. Interactions","authors":"","doi":"10.1515/9780804784993-008","DOIUrl":null,"url":null,"abstract":"The Interactions feature in jGRASP allows the user to enter Java statements and expressions and then execute/evaluate them immediately. This feature is not meant to be a replacement for the traditional edit-compile-run cycle, but rather a convenient way to experiment with Java statements and expressions. The Interactions feature is relevant for beginning as well as advanced users who are programming in Java. The feature was introduced briefly in Getting Started and Getting Started with Objects. In this tutorial, we provide a more complete description with detailed examples. If you are not familiar with the basic features of jGRASP (e.g., compiling, running, and debugging), you are encouraged to read Getting Started. Objectives – When you have completed this tutorial, you should be able to use Interactions with the Object Workbench, Debugger, and Viewers in jGRASP. You should be able to declare primitive variables, assign values, and use them in expressions. You should be able declare reference variables, create instances of objects, invoke methods on the objects, and use the reference variables in expressions. You should be able use interactions containing variables from the workbench and debugger. You should be able to copy interactions and paste them to a CSD window as source code. The details of these objectives are captured in the hyperlinked topics listed below.","PeriodicalId":341720,"journal":{"name":"The Life Within","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Life Within","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1515/9780804784993-008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The Interactions feature in jGRASP allows the user to enter Java statements and expressions and then execute/evaluate them immediately. This feature is not meant to be a replacement for the traditional edit-compile-run cycle, but rather a convenient way to experiment with Java statements and expressions. The Interactions feature is relevant for beginning as well as advanced users who are programming in Java. The feature was introduced briefly in Getting Started and Getting Started with Objects. In this tutorial, we provide a more complete description with detailed examples. If you are not familiar with the basic features of jGRASP (e.g., compiling, running, and debugging), you are encouraged to read Getting Started. Objectives – When you have completed this tutorial, you should be able to use Interactions with the Object Workbench, Debugger, and Viewers in jGRASP. You should be able to declare primitive variables, assign values, and use them in expressions. You should be able declare reference variables, create instances of objects, invoke methods on the objects, and use the reference variables in expressions. You should be able use interactions containing variables from the workbench and debugger. You should be able to copy interactions and paste them to a CSD window as source code. The details of these objectives are captured in the hyperlinked topics listed below.
4. 的相互作用
jGRASP中的Interactions特性允许用户输入Java语句和表达式,然后立即执行/求值。这个特性并不是要取代传统的编辑-编译-运行周期,而是一种方便的方法来试验Java语句和表达式。交互特性既适用于用Java编程的初级用户,也适用于高级用户。在入门和对象入门中简要介绍了该功能。在本教程中,我们将提供更完整的描述和详细的示例。如果您不熟悉jGRASP的基本特性(例如,编译、运行和调试),建议您阅读Getting Started。目标—当您完成本教程后,您应该能够在jGRASP中使用与对象工作台、调试器和查看器的交互。您应该能够声明原始变量、赋值并在表达式中使用它们。您应该能够声明引用变量、创建对象实例、调用对象上的方法以及在表达式中使用引用变量。您应该能够使用工作台和调试器中包含变量的交互。您应该能够复制交互并将其作为源代码粘贴到CSD窗口。这些目标的详细信息载于下面列出的超链接主题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信