0% found this document useful (0 votes)
5 views6 pages

Java Questions

The document contains a comprehensive list of Java-related questions covering various topics such as JDK versions, Java editors, JVM, array operations, control statements, constructors, threading, collections, and more. It includes practical programming tasks and theoretical concepts aimed at understanding Java programming and its features. The questions are designed for learners to explore and deepen their knowledge of Java programming language and its applications.

Uploaded by

Anuja Pawar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

Java Questions

The document contains a comprehensive list of Java-related questions covering various topics such as JDK versions, Java editors, JVM, array operations, control statements, constructors, threading, collections, and more. It includes practical programming tasks and theoretical concepts aimed at understanding Java programming and its features. The questions are designed for learners to explore and deepen their knowledge of Java programming language and its applications.

Uploaded by

Anuja Pawar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

JAVA Questions

1) Latest JDK versions


2) What are the diff editors for java
3) Why to use eclipse and latest version of eclipse
4) Explain the terms :- J2SE, J2ME, J2EE, JDK, JVM, JAR, JAVA C, JIT
5) Explain JVM in detail
6) What types of App we create using java
7) Why the file name and class is same
8) Max of array
9) Min of array
10) Find sum array elements and calculate average
11) Print even numbers from array
12) Implement program for arithmetic operation as addition , sub , mul , div by
using switch case / do while
13) Print the program for displaying the fruit name by using its colour
14) Print the number from 20 to 40 in reverse order (for loop)
15) Print only even no from 1 to 20 (for loop)
16) Prints the sum of no’s from 20 to 30 and check the sum is even or odd (for
loop)
17) Print the odd no’s from 1 to 100 in a reverse way (for loop)
18) Why array index start with 0 (zero)
19) Explain diff user define data types in java
20) Control statement
21) What is binary operator
22) In between while loop and for loop which one is better and why
23) WAP to implement the array operation max, min, reverse, display by using
switch case
24) Perform arithmetic operation by using function
25) Calculate factorial of given numbers by using fact function
26) Implement the menu driven program for printing the given operation for
array (create, display, max, reverse) by using function
27) Why does name & constructor name is same in java
28) Why we cannot have return the value from constructor
29) Explain void Constructor
30) Explain constructor chaining in java
31) WAP to implement shape method to draw circle and rectangle
32) What is an immutable object?
33) How the string will calculate the code value for compare to method
34) Why string are immutable in nature
35) What are the diff classes present in [Link] package
36) What is object class
37) What are the method of object class in java
38) Create a class company which manufacture the product as water cooling
machine display the details of product with the given data members :-
product_Id, product_price, product_modelNum, Product_expDate,
warrenty_year (display the details) use bufferReader as a input
39) What do you mean by thread pooling
40) What is difference between synchronized and join method
41) What is thread scheduler
42) How to avoid deadlock in java
43) What are the setter and getter
44) What is difference between yield and stop method
45) What is difference between pause and stop method
46) Explain user level thread and thread and to kernal level thread
47) How we can differentiate multi-threading from multiprocessing
48) What is difference between start and run method
49) Difference between add and add element
50) Explain difference between tree set and hashset
51) Explain difference between treemap and hashmap
52) Explain the methods of collection and collections
53) Why hashmap is not synchronized in nature
54) How vector is dynamic in nature
55) Perform the operations if linked list to store the percentage of student
56) Difference between arraylist and linked list
57) Create callable statement to check the person eligible for voting
58) Use enum inside the switch case to display the days of the week
59) Create an interface which display only even number from the even number
from arraylist by using lambda expression
60) Create a singleton class for accepting employee details and checking
eligibility criteria for getting promotion :-
1) Employee should have more than 5+ year experience
2) Employee should have skills springboot and angular
3) Employee should be aware of angile methodology
61) What is annotation
62) What is a difference between comment and annotation
63) What is JNDI and JTA
64) How we are mapping objects to the database

You might also like