Home
(current)
Java
Python
Python Programs
Python Quiz
Pandas
GIT
Beautify HTML
Find My IP
Validate Sitemap
Python Tutorial
Python Introduction
Python History & Versions
Python Installation
Python Interactive Shell
Python Self Help
Python3.8 Features & Updates
Python Variables
Python Data types
Python Control Statements
Python If Statements
Python For loop
Python While Loop
Python Break Statement
Python Continue Statement
Python Functions
Python Functions
Python Default Arguments
Python Keyword Arguments
Python Positional Arguments
Python Arbitrary Arguments
Python Lambda Expression
Python Variable Scopes
Python Data Structures
Python List
Python List Comprehension
Python Tuple
Python Nested Tuple
Python Set
Python FrozenSet
Python Dictionary
Python miscellaneous Topics
Python Operators
Python Del Statement
Python String
Python String Formatting
Python Date
Python Regex
Python Exception Handling
Python Programming Exercise
Learn Python Programs
Python Library
Learn Pandas
Pandas Interview Questions
Python DataBase Handling
Python MySQL Connectivity
Install MongoDB
Python MongoDB Connectivity
Python Built-In Methods/Functions
Python built-in methods
Java Basic Quiz for Beginners
Last Updated: June 17th, 2021
1. Java independent code is known as?
Byte Code
Machine Code
Java Source Code
Platform Dependent Code
2. What is correct signature of Java main method?
public static main(String[] args)
public static void main(String[] args)
public static int main(String[] args)
public static main(args)
3. What is static in Java?
Identifier
Keyword
Function
Class Code
4. What is void in Java?
Keyword
Return type
Data Type
None Type
5. Is variable name is case sensitive in Java?
Yes
No
Partial
None Of The Above
6. Does Java support unicode character encoding?
No
Yes
Partial
None Of The Above
7. Which is a primitive type in Java?
Class
int
Integer
pint
8. Is Java a pure object-oriented programming language?
Yes
No
Partial
None Of The Above
9. How to create a boolean variable in Java?
bool b = true
boolean b = true
Jbool b = true
None Of The Above
10. What is the minimum value of a 16-bit Unicode character in Java?
0
-1
10
1