-
-
-
-
-
What is the Locale class
The Locale class is used to tailor program output to the conventions of a particulargeographic, political, orcultural region.
-
-
-
How to check the status of a caps lock key..?
You can do it without using key event, by creating an artificial key event using java.awt.Robot class to generate a "simple caracter" key press (for instance KeyEvent.VK_A). Sample Source Code -- May not be accurate but the concept is as follows. import java.awt.*;import java.awt.event.*;public class Test { public static void main(String[] args) throws AWTException...
-
-
-
-
-
-
-
-
-
-
Which of the following types of class members can be part of the internal part of a class? (Select multiple)
A) Public instance variablesB) Private instance variablesC) Public methodsD) Private methods
-
Which of the following classes is used to perform basic console I/O?
A) SystemB) SecurityManagerC) MathD) Runtime
-
How do you create a Reader object from an InputStream object?
A) Use the static createReader( ) method of InputStream class.B) Use the static createReader( ) method of Reader class.C) Create an InputStreamReader object, passing the InputStream object as an argument to the InputStreamReader constructor.D) Create an OutputStreamReader object, passing the InputStream object as an argument to the OutputStreamReader constructor.
Java Interview Questions
Ans