`
Data168
  • 浏览: 3175 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

What is the difference between data types and literals in Java?

    博客分类:
  • Java
阅读更多

最近学习Java,看的是Oracle的官方Tutorials,其中有一个单词“literals”经常遇到,但总不能正确对应到专业的中文术语。于是Google了一下,发现Stackoverflow上有一帖子讨论了这个问题:What is the difference between data types and literals in Java?

 

看罢,才恍然明白,原来literals就是所谓的数据类型对应的值,仅此而已。后来又百度词典中查了一下,literals在不同的语境下可以翻译成不同的意思,感觉将其翻译成“标值”比较符合Tutorial中的意思。

 

小白学习不容易,必将遇到更多的坎,继续加油!
 

 

  • 大小: 39.9 KB
分享到:
评论

相关推荐

    Java Data Types & Literals | 数据类型 和 字面量

    NULL 博文链接:https://wuaner.iteye.com/blog/1668172

    Pro CDI 2 in Java EE 8.pdf

    In Pro CDI 2 in Java EE 8, use CDI and the CDI 2.0 to automatically manage the life cycle of your enterprise Java, Java EE, or Jakarta EE application’s beans using predefined scopes and define custom...

    《Programming in Java Second Edition》高清完整英文PDF版

    It is significant in the sense that the last update was six years back and this major release comes bundled with plenty of enhancements which were overdue. To list a few noticeable enhancements, Java...

    java7帮助文档

    JRE 7 provides the libraries, the Java Virtual Machine (JVM), and other components to run applets and applications written in the Java programming language. The following conceptual diagram ...

    C#_7 Quick Syntax Reference, 2nd Edition--2018

    Discover what’s new in C# 7.3 and .NET for Windows 10 programming, including out values, ref locals and returns, local functions, throw exceptions, and numeric literals Create lightweight, unnamed ...

    Devart_UniDAC_7.4.12_Professional_D7-D10.3_Rio_Full_Source_Code

    Bug with setting the data type of the parameter to BOOLEAN for all TINYINT system data types in the functions is fixed PostgreSQL data provider Bug with reading and writing of the floating point ...

    unidac74.12d26-pro.rar for delphi 10.3.1

    error in Android is fixed MySQL data provider Bug with setting the data type of the parameter to BOOLEAN for all TINYINT system data types in the functions is fixed PostgreSQL data provider Bug with ...

    JSP Simple Examples

    One of the strong features of java is that it is follows a OOPs concept, and one of the feature of OOP in java is that, we can assign a subclass object or variable to the variable of the superclass ...

    Learning.Scala.Practical.Functional.Programming.for.the.JVM

    Learn about the core data types, literals, values, and variables Discover how to think and write in expressions, the foundation for Scala's syntax Write higher-order functions that accept or return ...

    Learning-Scala-Practical-Functional-Programming-for-the-JVM.pdf

    and flexible syntax, and the use of immutable data and function literals to solve prob‐ lems. Ruby and Python developers will be familiar with the use of function literals (aka closures or blocks) to...

    Programming in Objective-C 4th Edition

    The copy and mutableCopy Methods 413 Shallow Versus Deep Copying 416 Implementing the <NSCopying> Protocol 418 Copying Objects in Setter and Getter Methods Exercises 423 19 Archiving 425 Archiving ...

    Packt.Java.9.Regular.Expressions

    This easy-to-follow guide is a great place from which to familiarize yourself with the core concepts of regular expressions and to master its implementation with the features of Java 9. You will ...

    Options and Derivatives Programming in C++

    This is a hands-on book for programmers wanting to learn how C++ is used in the development of solutions for options and derivatives trading in the financial industry. As an important part of the ...

    acpi控制笔记本风扇转速

    condition is known to exist between AcpiWalkNamespace and the Load/Unload ASL operators and is still under investigation. Restructured the AML ParseLoop function, breaking it into several ...

    Python library

    This manual is organized “from the inside out:” it first describes the built-in functions, data types and exceptions, and finally the modules, grouped in chapters of related modules. This means that...

    Learn.Java.for.Android.Development_Apress.2010+src

    Android development is hot, and many programmers are interested in joining the fun. However, because this technology is based on Java, you should first obtain a solid grasp of the Java language and ...

    python3.6.5参考手册 chm

    Deprecated functions and types of the C API Deprecated Build Options Removed API and Feature Removals Porting to Python 3.6 Changes in ‘python’ Command Behavior Changes in the Python API ...

    C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development – Third Edition

    as well as debugging functions and object-oriented programming, before taking a quick tour through the latest features of C# 7.1 such as default literals, tuples, inferred tuple names, pattern ...

Global site tag (gtag.js) - Google Analytics