• java-native修饰符


    1.意思是:原生的,本地的
    2.可以修饰:方法
    3.它修饰的方法有什么不同
    # 语法格式:【修饰符】 class 类{
            【其他修饰符】 native 返回值类型 方法名(【形参列表】);
    }
    # native修饰的方法看不见方法体,native修饰的方法不是用java语言实现的,而是调用了底层c/c++的代码,这些代码被编译为.dll文件,让java来执行的
    4.特殊
        -方法该怎么调用还怎么调用
        -方法可以被重写
    
    When nothing seems to help, I go look at a stonecutter hammering away at his rock, perhaps a hundred times without as much as a crack showing in it. Yet at the hundred and first blow it will split in two, and I know it was not that blow that did it, but all that had gone before. -- Jacob Riis
  • 相关阅读:
    省选前模拟
    $SA$后缀数组
    一键运行
    多项式$fft$,$ntt$,$fwt$初步
    插头$DP$初步
    网络流初步
    欧拉路相关
    模板—Hash_map
    HZOJ Function
    HZOJ Tree
  • 原文地址:https://www.cnblogs.com/xhwy-1234/p/12468147.html
Copyright © 2020-2023  润新知