Home  >  Article  >  Java  >  Share the learning path of Java database

Share the learning path of Java database

巴扎黑
巴扎黑Original
2017-08-01 13:13:022040browse

When learning any programming language, database is one of the must-learns. The key point is also one of the difficulties. Next, let’s talk about how to learn Java programming and database learning.

1. Database type structure diagram

Collection---->Collections Map----->SortedMap------>TreeMap

Collection---->List----->(Vector \ ArryList \ LinkedList) Map------>HashMap

Collection---->Set---- -->(HashSet \ LinkedHashSet \ SortedSet)

Share the learning path of Java database

##http://www.php.cn/java-article-375795.html

2. Partial diagram of stack memory, heap memory, and string constant pool

Share the learning path of Java database

##http://www.php.cn/java -article-375796.html

3.JAVA basic data type diagram

Share the learning path of Java database

http://www.php.cn/ java-article-375798.html

4. Automatic type change diagram

Share the learning path of Java database

http://www.php.cn /java-article-375799.html

5. Type conversion - reduce/enlarge conversion diagram

import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.color.ColorSpace;
import java.awt.geom.AffineTransform;
import java.awt.image.AffineTransformOp;
import java.awt.image.BufferedImage;
import java.awt.image.ColorConvertOp;
import java.awt.image.CropImageFilter;
import java.awt.image.FilteredImageSource;
import java.awt.image.ImageFilter;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;

http://www.php.cn/java-article -375800.html

6. Forced type conversion

public static byte[]
 toByteArray(int number){
  int temp
 = number;
  byte[]
 b=new byte[4];
  for (int i
 = b.length - 1;
 i > -1;
 i--)
  {
     b[i]
 = new Integer(temp
 & 0xff).byteValue();
     temp
 = temp >> 8;
  }
  return b;
}

http://www.php.cn/java-article-375801.html

The above is the detailed content of Share the learning path of Java database. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn