pencil-icon
Build your own quiz

Computers

9th

grade

Image

Computer Quiz

10
plays

12 questions

Show Answers
See Preview
  • 1. Multiple Choice
    20 seconds
    1 pt

    What is the difference between public and private keyword in java

    private: accessible within the same package only

    private: accessible within the same class only

    public: accessibly from anywhere

    public: Accessible only for output generation.

    Non of the above

  • 2. Multiple Choice
    20 seconds
    1 pt

    Java is a

    OIP-Object intended Program

    POP - Procedure Oriented Programming

    OOP - Object Oriented Programs

    High Level Language

  • 3. Multiple Choice
    20 seconds
    1 pt

    Data is encapsulated by using the keyword....

    public

    protected

    private

    None of these

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?