- 
                    
The number of subscripts(indexes) in 2D array is two(2).Both row and column size must be __________________.
Integer constantsExample: int a[2][3]; Here a is an array consisting of two rows with each row with each row consists of 3 integer elements
 - 
                    
 - 
                    
 - 
                    
State true or false :- Is the procedure to own the moniter by many threads?
A) TrueB) FalseExplanation: It is not possible.
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
 - 
                    
Which of the following are true about the File class? (Select multiple)
A) File objects can be garbage collected.B) A File object can be used to access the files in the current directory.C) When a File object is created, a corresponding directory or file is created in the local file system.D) File objects are used to access files and directories on the local file system.
 - 
                    
You do not need to follow any special indentation rules in Java
A) TrueB) FalseExplanation: Java is a free-form language
 - 
                    
A constant value in Java is created by using a literal representation of it
A) TrueB) FalseExplanation: A constant value in Java is created by using a literal representation of it. For example, here are some literals:100 98.6 'X' "This is a test"Left to right, the first literal specifies an integer, the next is a floating-point value, the third is a character constant, and the last is a string. A literal can be used anywhere a value of its type is allowed
 - 
                    
 - 
                    
 - 
                    
Swing's text components display text and optionally allow the user to edit the text
Skill/Topic: AWT & AppletsA) TrueB) False
 - 
                    
Thread class is defined in the package ______
Skill/Topic: AWT & AppletsA) java.lang
 - 
                    
AWT uses native ________ components
Skill/Topic: AWT & AppletsA) GUI
 - 
                    
Each subclass ________ state (in the form of variable declarations) from the superclass
Skill/Topic: InheritanceA) Inherits
 - 
                    
 - 
                    
Open Excel sheet in Java
My java code needs to open an excel sheet and import data from the excel sheet. How can do that?
 
Java Interview Questions

		
Ans