Java Programming

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  Which component can be used for sending messages from one application to another? a. server b. client c. mq d. webapp Answer- mq Que-  How are java web applications packaged? a. jar b. war c. zip d. both jar and war Answer…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  Which of the following is not an advantage of using Hibernate Query Language? a. Database independent b. Easy to write query c. No need to learn SQL d. Difficult to implement Answer- Difficult to implement Que-  In which f…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  Which of these class allows us to get real time data about private and protected member of a class? a. java.io b. GetInformation c. ReflectPermission d. MembersPermission Answer- ReflectPermission Que-  Which of this packa…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  What will be the output of the following Java code snippet?  int a = random.nextInt(7) + 4; a. Random number between 4 to 7, including 4 and 7 b. Random number between 4 to 7, excluding 4 and 7 c. Random number between 4 t…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  FocusEvent is subclass of which of these classes? a. ComponentEvent b. ContainerEvent c. ItemEvent d. InputEvent Answer- ComponentEvent Que-  Which of these methods can be used to know the type of focus change? a. typeFocu…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  what does public String replaceAll(string replace) do? a. Replace all characters that matches pattern with a replacement string b. Replace first subsequence that matches pattern with a replacement string c. Replace all oth…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  Which of these class contains the methods print() & println()? a. System b. System.out c. BUfferedOutputStream d. PrintStream Answer- PrintStream Que-  Which of these methods can be used to writing console output? a. p…

Java Programming MCQ (Multiple Choice Questions) - SchoolingAxis

Que-  Which of these method is used to implement Runnable interface? a. stop() b. run() c. runThread() d. stopThread() Answer- run() Que-  Which of these method is used to begin the execution of a thread? a. run() b. start() c. …

Load More
That is All