一、简述 面向过程与面向对象: 面向过程:是一种以过程为中心的编程思路,功能的每一块都是由自己来实现的 面向对象:是一种以对象为中心的编程思路,通过指挥对象实现具体的功能 面向对象的三条主线: Java类及类的成员:属性,方法,构造器,代码块和内部类 面向对象的三大特征:封装型,继承性,多态性,(抽 ...
分类:
其他好文 时间:
2021-06-22 17:52:05
阅读次数:
0
String,StringBuffer,StringBuilder 重要程度:高 课程目标 掌握String,StringBuffer,StringBuilder性能差异 一、面试题 问String,StringBuffer,StringBuilder的区别: String 代表Java中的字符串, ...
分类:
其他好文 时间:
2021-06-22 17:45:05
阅读次数:
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <title>数据可视化< ...
分类:
Web程序 时间:
2021-06-22 17:36:40
阅读次数:
0
1.今天继续学习fragment 布局就不放了 重要代码: MyFragment.java: public class MyFragment extends Fragment { private String content; public MyFragment(String content) { ...
分类:
其他好文 时间:
2021-06-21 21:09:34
阅读次数:
0
阅读原文 1.以流的方式下载. public HttpServletResponse download(String path, HttpServletResponse response) { try { // path是指欲下载的文件的路径。 File file = new File(path); ...
分类:
编程语言 时间:
2021-06-21 20:48:13
阅读次数:
0
#include<stdio.h>#include<string.h>#include<stdlib.h>#include<windows.h>typedef struct student //定义结构体 { char name[20]; //姓名 char num[15]; //学号 char s ...
分类:
其他好文 时间:
2021-06-21 20:34:02
阅读次数:
0
#include<stdlib.h> #include<stdio.h> #include<string.h> #define MAX 10005 typedef struct node { char a[16]; int len; }node; node te,t[MAX]; int n=0; v ...
分类:
其他好文 时间:
2021-06-21 20:33:31
阅读次数:
0
1.android的HttpURLConnection发送POST请求 核心代码: PostUtils.java public class PostUtils { public static String LOGIN_URL = "http://172.16.2.54:8080/HttpTest/S ...
分类:
其他好文 时间:
2021-06-21 20:31:45
阅读次数:
0
前端时间,通过画脑图记录的方式深入分析了一下:spring底层容器的刷新过程,现在拆分为博客,分享一下。后面会附上脑图的原文件,供大家查看。 public class BeanAutowired { public static void main(String[] args) { Applicati ...
分类:
移动开发 时间:
2021-06-21 20:31:10
阅读次数:
0
算法思想 冒泡排序属于一种典型的交换排序。 交换排序顾名思义就是通过元素的两两比较,判断是否符合要求,如过不符合就交换位置来达到排序的目的。冒泡排序名字的由来就是因为在交换过程中,类似水冒泡,小(大)的元素经过不断的交换由水底慢慢的浮到水的顶端。 冒泡排序的思想就是利用的比较交换,利用循环将第 i ...
分类:
编程语言 时间:
2021-06-21 20:30:56
阅读次数:
0