摘要:
//定义泛型类 //public class Person<T> { // private T info; // // public T getInfo() { // return info; // } // // public void setInfo(T info) { // this.info
阅读全文
posted @ 2020-08-14 21:21
一路繁花似锦绣前程
阅读(111)
推荐(0)
摘要:
数据结构 // 栈:先进后出; // 队列:先进先出; // 数组:查询快,增删慢; // 链表:查询慢,增删快; // 红黑树:查询快(二分查找); collection public class practice { public static void main(String[] args)
阅读全文
posted @ 2020-08-14 20:29
一路繁花似锦绣前程
阅读(151)
推荐(0)
摘要:
public class FaceToObject { public static void main(String[] args) { /* 一、继承 1、继承的特性 子类继承父类非private的属性、方法; 子类可以有自己的属性、方法; 子类可以重写父类的方法; 子类只能继承一个父类; 2、继
阅读全文
posted @ 2020-08-14 13:52
一路繁花似锦绣前程
阅读(89)
推荐(0)
摘要:
public class Usuallyclass { public static void main(String[] args) { // 控制台输入 // Scanner scanner = new Scanner(System.in); // int i = scanner.nextInt(
阅读全文
posted @ 2020-08-12 22:11
一路繁花似锦绣前程
阅读(133)
推荐(0)
摘要:
public class BinarySearch { public static void main(String[] args) { int[] arr = {10, 20, 30, 40, 50, 60, 70, 80, 90}; int num = 70; System.out.printl
阅读全文
posted @ 2020-08-12 12:19
一路繁花似锦绣前程
阅读(116)
推荐(0)
摘要:
import java.io.File; public class Recursion { public static void main(String[] args) { File file = new File("E:\\study\\JAVA全套整理"); RecursionMethods(f
阅读全文
posted @ 2020-08-12 11:01
一路繁花似锦绣前程
阅读(90)
推荐(0)
摘要:
import java.util.Arrays; public class Arrsort { public static void main(String[] args) { int[] arr = {5, 8, 3, 4, 9, 2, 7, 6, 1}; System.out.println(A
阅读全文
posted @ 2020-08-12 10:19
一路繁花似锦绣前程
阅读(147)
推荐(0)
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>test</title> <style> body{ margin: 0; overflow: hidden; } </style> <script src="
阅读全文
posted @ 2020-08-05 15:27
一路繁花似锦绣前程
阅读(1526)
推荐(0)
摘要:
<template> <div style="height: 100%;"> <table style="table-layout: fixed"> <tr> <td style="width: 100px"> <span>这是一段中文这是一段中文这是一段中文</span> </td> <td></
阅读全文
posted @ 2020-08-04 19:32
一路繁花似锦绣前程
阅读(537)
推荐(0)
摘要:
<template> <div style="width: 100%;height: 100%;display: flex;align-items: center;justify-content: center"> <svg xmlns="http://www.w3.org/2000/svg" ve
阅读全文
posted @ 2020-08-04 13:33
一路繁花似锦绣前程
阅读(131)
推荐(0)