McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
A java program must contain a______ meth...
Q.
A java program must contain a______ method.
A.
user defined.
B.
main.
C.
local.
D.
return.
Answer» B. main.
1.2k
0
Do you find this helpful?
8
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
State true or false (i) Java RMI supports distributed objects written entirely in java (ii) Java RMI makes use of stubs and skeleton (iii) In Java RMI an object registers itself with a media server (iv) IDL is interface declaration language
Match the following (a) Datagram Socket (i) UDP connection (b) URL (ii) provides a necessary framework of debugging java programs (c) java.net (iii) makes it possible to communicate over a network with java programs (d) sun.tools.debug (iv) is a java object that represents WWW address
Consider the following program: import myLibrary.*; public class ShowSomeClass { // code for the class... } What is the name of the java file containing this program?
What is different between a Java applet and a Java application?
What is different between a Java applet and a Java application?
Java enables the creation of cross-platform programs by compiling into an intermediate representation called Java ____________.
Which of these packages contain all the Java’s built in exceptions?
You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?
You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?
In RMI program the following example shows the, import java.rmi.*; public interface Adder extends Remote{ public int add(int x,int y)throws RemoteException; }