- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
此文档是毕业设计外文翻译成品( 含英文原文+中文翻译),无需调整复杂的格式!下载之后直接可用,方便快捷!本文价格不贵,也就几十块钱!一辈子也就一次的事!
文献出处:Kishori Sharan Scripting in Java Integrating with Groovy and JavaScript,2019(如觉得年份太老,可改为近2年,毕竟很多毕业生都这样做)
英文4116单词,23761字符(字符就是印刷符),中文6364汉字。(如果字数多了,可自行删减,大多数学校都是要求选取外文的一部分内容进行翻译的。)
Writing Scripts in Nashorn
In this chapter, you will learn:
1.How to write scripts in Nashorn
2.The difference between running the script in strict mode and nonstrict mode
3.How to declare variables and write comments
4.Primitive and object data types, and how to convert values of one data type to another data type
5.Operators, statements, and creating and invoking functions in Nashorn
6.Different ways of creating and using objects
7.Variable scoping and hoisting
8.About built-in global objects and functions
Nashorn is a runtime implementation of the ECMAScript 5.1 specification on the JVM. ECMAScript defines its own syntax and constructs for declaring variables, writing statements, operators, creating and using objects, collections, iterating over collections of data, and so on. Nashorn is 100 percent compliant with the ECMAScript 5.1, so you have a new set of language syntax to learn when you work with Nashorn. For example, working with objects in Nashorn is entirely different from working with objects in Java.
This chapter assumes that you have at least a beginner-level understanding of the Java programming language. I will not explain details of the constructs and syntax offered by Nashorn that work the same way as they work in Java. For example, I will not explain what the assignment operator = in Nashorn does. Rather, I will simply mention that the assignment operator = works the same in Nashorn and Java. The power of Nashorn is that it lets you use Java libraries inside scripts. However, to use Java libraries inside Nashorn, you must know the Nashorn syntax and constructs. This chapter gives you a brief overview of Nashorn syntax and constructs.
Strict and Nonstrict Modes
Nashorn can operate in two
您可能关注的文档
- 关于计算机专业应用程序编程VB语言介绍概述的毕业设计论文英文英语外文文献翻译成品资料:编程和Visual Basic简介(中英文双语对照).docx
- 关于计算机第五代5g移动通讯通信技术介绍简介概述有关的外文文献翻译成品:5G的五个颠覆性技术方向(中英文双语对照).docx
- 关于计算机专业安卓大学生成绩考勤家校沟通管理系统设计有关的外文文献翻译成品英文英语资料:适用于学生跟踪系统的Android应用程序(中英文双语对照).docx
- 关于计算机专业JAVA语言类有关的外文文献翻译成品:Nashorn的Java API(中英文双语对照).docx
- 关于计算机专业应用程序类App有关的外文文献翻译成品:在Nashorn中使用JavaFX(中英文双语对照).docx
- 关于计算机专业有关的外文文献翻译成品:在脚本语言中使用Java(中英文双语对照).docx
- 关于计算机专业移动智能手机支付APP管理设计NFC近场通信的毕业设计论文英文英语外文文献翻译成品资料:Android(安卓)智能购物系统应用程序(中英文双语对照).docx
- 关于计算机专业APP有关的外文文献翻译成品英文英语资料:Web应用程序开发中MySQL和MongoDB的混合数据库系统(中英文双语对照).docx
- 关于计算机专业智慧生活家庭安全远程移动监控控制系统设计蓝牙的毕业设计论文英文英语外文文献翻译成品资料:使用Android安卓应用程序的智能家居系统(中英文双语对照).docx
- 2024年标准气体项目招商引资报告.docx
1亿VIP精品文档
相关文档
最近下载
- 乐观---积极心理学概念.ppt
- 2024银行数据资产价值评估.docx
- 党纪学习教育的心得体会.docx VIP
- (2014-2023)高考历史真题分项汇编(全国通用) 晚清时期的内忧外患与救亡图存(老师讲解版).pdf
- 2022城市建设总结工作汇报PPT模板.pptx VIP
- 车间精益生产改善总结报告.ppt
- 聊城沣泽新材料年产2万吨甲酸钙环评报告书-征求意见稿.pdf
- 【道法广角】少先队基本知识“六知六会一做”.ppt
- (高职)婴幼儿卫生与保健全套课件 第1--9章 婴幼儿生长发育--- 托育机构的卫生与保健工作.pdf
- 5-2煤中央水泵房、中央变电所防火栅栏门设计及施工安全技术措施.doc
文档评论(0)