• 说出一些常用的类,包,接口,请各举5个 ?


    常用的包有:

    java.lang包下包括MathSystemStringBuilderStringBufferRuntimeThreadRunnable等。

    java.util包下包括ListSetMap,以及这些接口的常用实现类:ArrayListLinkedListHashSetTreeSetHashMapTreeMap等。

    java.io包下包括InputStreamOutputStreamReaderWriterFileInputStreamFileOutputStreamFileReaderFileWriterBufferedInputStreamBufferedOutputStreamBufferedReaderBufferedWriter

    java.sql包下包括ConnectionStatementPreparedStatementResultSet等。

    java.net包下包括SocketServerSocketURLURLConnectionDatagramPacketDatagramSocket等。

    如果为让别人感觉你对Android很熟悉,还应该增加一些Android常用的包、类,如:

    android.app包下有:ActivityListActivtyTabActivityAlertDialogAlertDialog.BuilderNotificationService等。

    android.content包下有:ContentProviderContentResolverContentUrisContentValuesContext

    android.database包下有Cursor

    android.database.sqlite包下有:SQLiteDatabaseSQLiteOpenHelper

    android.graphics包下有BitmapBitmapFactoryCanvasColorMatrixPaintPath等。

    android.widget包下有TextViewButtonCheckBoxRadioButtonListViewGridViewSpinnerGallery等。

    Java Program!
  • 相关阅读:
    apache+mysql+php+phpmyadmin搭建
    Redis学习笔记(1)Redis安装和启动
    Zlib 引用中出现的问题
    约数
    AC自动机
    当我们说“一切皆对象”时,我们到底在说什么
    Google翻译,3个步骤灭绝人类
    Linux下Gcc生成和使用静态库和动态库详解(转)
    Java基础&笔试题
    SQL基础&笔试题
  • 原文地址:https://www.cnblogs.com/programb/p/14068536.html
Copyright © 2020-2023  润新知