Home
(current)
Python Programming Tutorial
Python Introduction
Python History & Versions
Python Installation
Python Interactive Shell
Python Self Help
Python3.8 Features & Updates
Python For Loop
Python Del Statement
User Input
Python List
Python Tuple
Python Set
Python Date
Python Built-In Methods
Python abs() Method
Python any() Method
Python all() Method
Python ascii() Method
Python bin() Method
Python bool() Method
Python filter() Method
Python float() Method
Python frozenset() Method
Python hex() Method
Python isinstance() Method
Python range() Method
Python Programming Exercise
Add Two Numbers
Get User Input
Patterns Program
Find Area of Circle
Area of Rectangle
Perimeter of Rectangle
Find Even and Odd Numbers
Find Sum of Digit in Python
Find Factorial in Python
Find Largest in List
Print Fibonacci Series
Check Armstrong Number
Reverse a Number
Check Palindrome Number
Swap Two Numbers
Matrix Multiplication
Find Duplicate in List
Check Alphabet
Remove Duplicate Elements from List
Reverse List Elements
Python Library
Learn Pandas
Python DataBase Handling
Python MySQL Connectivity
Install MongoDB
Python MongoDB Connectivity
Java Basic Quiz for Beginners
Updated On: 2021-02-03 13:53:06
1. Java independent code is known as?
Byte Code
Machine Code
Java Code
Platform Independent 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