package com.anyun.exam.lib; import android.content.Context; /** * MyApplication2 * Created by lzw on 2019/6/5. 13:15:20 * 邮箱:632393724@qq.com * All Rights Saved! Chongqing AnYun Tech co. LTD */ class AYSdk { //安运驾考系统 sdk 单例模式 private volatile static AYSdk ourInstance = null; static AYSdk getInstance() { if (ourInstance == null){ synchronized (AYSdk.class){ if (ourInstance == null){ ourInstance = new AYSdk(); } } } return ourInstance; } private AYSdk() { } }