Java Quiz

An engaging illustration representing Java programming concepts, featuring code snippets, a laptop, and a lightbulb to symbolize learning and innovation.

Java Mastery Quiz

Test your knowledge of Java programming with our comprehensive quiz designed for enthusiasts and professionals alike.

Whether you're a beginner or an experienced developer, this quiz covers essential concepts:

  • Primitive Data Types
  • Object-Oriented Programming
  • Java API and Class Structure
16 Questions4 MinutesCreated by CodingEagle732
Number of primitive data types in Java are?
8
6
5
4
What is the size of float and double in java?
32 to 64
64 to 34
64 to 64
64 to 32
Full form of JDK
Java Development Kit
Java dev Kit
Java Desired Kit
Java Double kit
Select the valid statement.
Char[] ch = new char (5)
Char [] ch = new char[5]
Char ch [] = new Char{5}
None
Java Support Which Inheritance
Multiple Inheritance
Multi level Inheritance
Parent Inheritance
None
Java is fully object oriented Programming ?
True
False
Java Support Which Data Type ?
Premative
Non Premetive
Objective
Variable type
Both I and ii
We can create String object ?
String str = new String
String string = new String()
String str = new String ();
String str = new String ()
JVM means ?
Java Virtual Mashine
Java viral ment
Java vartual macanisum
None
Long data type Range ?
2 billion
92 k
Up to 2 billion
Upto 92k
int Integer = 24; char String = ‘I’;
System.out.print(Integer);
System.out.print(String);
Comiple Error
I
24 I
Throw Exception
public class Solution{
public static void main(String[] args){
short x = 10; x = x * 5; System.out.print(x);
}
}
10
50
Comiple Error
Exception
Public class Solution{ public static void main(String[] args){ byte x = 127; x++; x++; System.out.print(x); } }
-127
127
129
2
Arrays in java are-
Object
Object refence
Primitive data type
None
When is the object created with new keyword?
At Comiple Time
At Run Time
Depende On Code
None
{"name":"Java Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of Java programming with our comprehensive quiz designed for enthusiasts and professionals alike.Whether you're a beginner or an experienced developer, this quiz covers essential concepts:Primitive Data TypesObject-Oriented ProgrammingJava API and Class Structure","img":"https:/images/course7.png"}
Powered by: Quiz Maker