Site icon Software Testing

Java Fundamentals Online Test

Java Fundamentals Online Test

Java Programming Fundamentals

Java Programming Fundamentals

Time limit: 0

Quiz-summary

0 of 30 questions completed

Questions:

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30

Information

Java Programming Fundamentals for Beginners

You have already completed the quiz before. Hence you can not start it again.

Quiz is loading...

You must sign in or sign up to start the quiz.

You have to finish following quiz, to start this quiz:

Results

0 of 30 questions answered correctly

Your time:

Time has elapsed

You have reached 0 of 0 points, (0)

Categories

  1. Not categorized 0%
  • Yes, Your Answer is Correct…

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27
  28. 28
  29. 29
  30. 30
  1. Answered
  2. Review
  1. Question 1 of 30
    1. Question
    Java is mainly used for System Programming.
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  2. Question 2 of 30
    2. Question
    Java is a pure Object Oriented Programming Language
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  3. Question 3 of 30
    3. Question
    Java is a Platform Independent Language
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  4. Question 4 of 30
    4. Question
    Java is not a Case Sensitive Language
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  5. Question 5 of 30
    5. Question
    (main) Method is optional for Java Programs
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  6. Question 6 of 30
    6. Question
    Java supports Implicit declaration of Data Types
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  7. Question 7 of 30
    7. Question
    Java Supports Explicit declaration of Variables
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  8. Question 8 of 30
    8. Question
    (/it is a sample program) – is a comment syntax in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  9. Question 9 of 30
    9. Question
    (final) – is an Access Modifier in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  10. Question 10 of 30
    10. Question
    (static) variables are also called a local variables in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  11. Question 11 of 30
    11. Question
    Array is a Dynamic Data Structure in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  12. Question 12 of 30
    12. Question
    Java SE is mainly used to develop Mobile Applications
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  13. Question 13 of 30
    13. Question
    Java supports handling of Excel Files
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  14. Question 14 of 30
    14. Question
    User can create Objects in Java Programming
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  15. Question 15 of 30
    15. Question
    The modulus operator (%) in Java can be used only with variables of integer type
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  16. Question 16 of 30
    16. Question
    Comparison Operators are having high priority in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  17. Question 17 of 30
    17. Question
    (else) part is not mandatory for if condition blocks in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  18. Question 18 of 30
    18. Question
    Variables declared inside a for loop are limited in scope to the loop
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  19. Question 19 of 30
    19. Question
    Multiple inheritance is not supported in Java through classes
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  20. Question 20 of 30
    20. Question
    We can write condition and loop blocks in Java Methods
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  21. Question 21 of 30
    21. Question
    We can’t declare Variables in Java code blocks
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  22. Question 22 of 30
    22. Question
    Using “System.out.println()” we display the Output for Java Programs
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  23. Question 23 of 30
    23. Question
    (import) keyword is used for importing predefined libraries only in Java Programs
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  24. Question 24 of 30
    24. Question
    Exception handling is not for handling Program Syntax Errors in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  25. Question 25 of 30
    25. Question
    We call Java Non-static methods using an Object in Java
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  26. Question 26 of 30
    26. Question
    We Declare/write methods outside of the main method in Java programs
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  27. Question 27 of 30
    27. Question
    Loop Statements are used for code repetition in Java Programs
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  28. Question 28 of 30
    28. Question
    We can’t reuse Java Class members using  Inheritance
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  29. Question 29 of 30
    29. Question
    The primary purpose of Java is not for Automating Software Applications
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

  30. Question 30 of 30
    30. Question
    The Java EE platform (Advanced Java) is built on top of the Java SE platform (Core Java).
    Correct

    Yes, Your Answer is Correct…

    Incorrect

    No, Your Answer is Incorrect…

Java Online Practice Test on Java Language Fundamentals like Java Data Types, Java Variables, Operators, Java Control Flow, and Java OOPS.

Introduction to Java Programming. Java Language Elements, Java Modifiers, Data Types, Variables, Operators, Conditional Statements, Loop Statements, IO Operations, Methods, and Exception Handling.

Java Object-Oriented Programming Fundamentals, Inheritance, Polymorphism, Abstraction and Encapsulation.

Write Comments in Java Programs for readable explanation, and to disable  the code from the Program execution.

Declare Data Types Explicitly in order to specify the type of data that you use in your program

Declare Variable explicitly in order to store the temporary data in your program

Use Operators for conducting Arithmetical, Comparison and Logical Operations

Use Java Control Flow – Conditional Statements for writing positive & negative, Single Condition, Compound condition, and nested conditions.

Use Java IO Operations for reading the input using mouse & keyboard, Files, and writing the output on the Console and Files.

Use Java Pre-defined methods to conduct operations on Strings, Numbers, Arrays and Characters.

Use Java User-defined methods for reusing your code, and use Java Exception handling concepts to handle Java Run-time errors.

Practice this Java Fundamentals Online Test, Check your Java Knowledge and try to enhance your Java Skills.

Java Fundamentals Online Test

1. Java is mainly used for System Programming.

a) True

b) False

2. Java is a pure Object Oriented Programming Language

a) True

b) False

3. Java is a Platform Independent Language

a) True

b) False

4. Java is not a Case Sensitive Language

a) True

b) False

5. The ‘main’ Method is optional for Java Programs

a) True

b) False

6. Java supports Implicit declaration of Data Types

a) True

b) False

7. Java Supports Explicit declaration of Variables

a) True

b) False

8. /it is a sample program – is a comment syntax in Java

a) True

b) False

9. final – is an Access Modifier in Java

a) True

b) False

10. static variables are also called local variables in Java

a) True

b) False

11. Array is a Dynamic Data Structure in Java

a) True

b) False

12. Java SE is mainly used to develop Mobile Applications

a) True

b) False

13. Java supports handling of Excel Files

a) True

b) False

14. User can’t create Objects in Java Programming

a) True

b) False

15. The modulus operator (%) in Java can be used only with variables of integer type

a) True

b) False

16. Comparison Operators are having high priority in Java

a) True

b) False

17. else part is mandatory for if condition blocks in Java

a) True

b) False

18. Variables declared inside a for loop are limited in scope to the loop

a) True

b) False

19. Multiple inheritances is supported in Java through class

a) True

b) False

20. We can write condition and loop blocks in Java Methods

a) True

b) False

21. We can’t declare Variables in Java code blocks

a) True

b) False

22. Using “System.out.println()” we display the Output for Java Programs

a) True

b) False

23. ‘import’ keyword is used for predefined libraries only in Java Programs

a) True

b) False

24. Exception handling is for handling Program Syntax Errors

a) True

b) False

25. We call Java Non-static methods using an Object in Java

a) True

b) False

26. We Declare/write methods outside of the main method in Java programs

a) True

b) False

27. Loop Statements are used for code repetition in Java Programs

a) True

b) False

28. We can’t reuse Java Class members using  Inheritance

a) True

b) False

29. The primary purpose of Java is not for Automating Software Applications

a) True

b) False

30. The Java EE platform (Advanced Java) is built on top of the Java SE platform (Core Java).

a) True

b) False


Java Fundamentals Online Test can check your knowledge in Java Programming and particularly in Java Standard Edition or Core Java.

Java Training Videos

Follow me on social media: