类型转换 java是强类型语言,所以有些运算需要用到类型转换 byte,short,char->int->long->float->double public class Domn04 { public static void main(String[] args) { int i=128; byt ...
分类:
其他好文 时间:
2020-04-06 09:17:00
阅读次数:
87
八种基本数据类型对应八种包装类和它们的继承关系 基本数据类型对应的包装类 boolean Boolean byte Byte short Short int Integer long Long char Character float Float double Double 1. 包装类的共性: 多 ...
分类:
编程语言 时间:
2020-04-05 22:08:47
阅读次数:
91
介绍 Django路由就是URL映射,用户通过不同的URL地址,来获取信息,而这些信息是开发者针对每个不同URL处理后做出的响应。 Django的URL配置,配置文件:ROOT_URLCONF 它允许项目URL的入口。 收到URL请求,视图接收的参数: 一个 HttpRequest 实例,必须为第一 ...
分类:
其他好文 时间:
2020-04-05 11:53:14
阅读次数:
65
Templates Short Name Language Tags Console Application console [C#], F#, VB Common/Console Class library classlib [C#], F#, VB Common/Library WPF Appl ...
分类:
Web程序 时间:
2020-04-04 17:26:05
阅读次数:
84
一、分类? 基本数据类型与引用数据类型。 1.1.基本数据类型: 整型(4), byte 1个字节,256种数字,范围时-128-127 short ,2个字节,2的16次方种数字,范围是 -32767-32767 int ,4个字节,2的32次方种数字。 long ,8个字节,同理推算。整型的二进 ...
分类:
编程语言 时间:
2020-04-04 09:27:27
阅读次数:
75
1、面向对象的特征有哪些方面? 2、访问修饰符public,private,protected,以及不写(默认)时的区别? 3、String 是最基本的数据类型吗? 4、float f=3.4;是否正确? 5、short s1 = 1; s1 = s1 + 1;有错吗?short s1 = 1; s ...
分类:
编程语言 时间:
2020-04-03 21:57:14
阅读次数:
74
关键字(keyword) 定义:被Java语言赋予了特殊含义,用做专门用途的字符串(单词) 特点:关键字中所有字母都为小写 官方地址 用于定义数据类型的关键字 class interface enum byte short int long float double char boolean voi ...
分类:
其他好文 时间:
2020-04-02 22:57:01
阅读次数:
80
java 基本数据类型对象包装类 定义 为了方便操作基本数据类型值,Java将其封装成了对象,在对象中定义了属性和行为。用于描述该对象的类就称为基本数据类型对象包装类。 |基本数据类型|对象包装类| |: :|: :| |byte|Byte| |short|Short| |int|Integer| ...
分类:
编程语言 时间:
2020-04-02 18:06:46
阅读次数:
79
typeof 用于获取一个对象的类型,比如: unsigned int a = 1; // typeof (a) is unsigned int short b = 2; // typeof (b) is short offsetof #define offsetof(TYPE, MEMBER) ( ...
分类:
其他好文 时间:
2020-04-02 14:22:25
阅读次数:
71
OSFP 400G SR8 DAC Direct AttachCable is a twinax cable solution with two copper-based conductors fortransmitting electrical signals at short distances. The OSFP DAC Direct AttachCable transmit the signals faster (i.e. with a lesser latency) and require considerablyless current, compared to electrical signals sent via a twisted pair cable.