Recent questions tagged java

0 0 votes
0 0 answers
112
112 views
Arrange the following applet life cycles methods in sequence$\operatorname{start}()$$\operatorname{paint()}$$\operatorname{init()}$$\operatorname{stop()}$Choose the corre...
0 0 votes
2 2 answers
496
496 views
Match List I with List II$\begin{array}{|ll|ll|} \hline & \textbf{List I} & & \textbf{List II} \\ \hline \text{A.} & \text{Overloading} & \text{I.} & \text{Since function...
0 0 votes
0 0 answers
214
214 views
Match List - I with List - II.$\begin{array}{|ll|ll|} \hline & \textbf{List - I} & & \textbf{List - II} \\ \hline (A) & HTML & (I) & \text{Allow for dynamic and interacti...
0 0 votes
2 2 answers
1.2k
1.2k views
A standard Java API for monitoring and managing applications isJVMJVNJMXJMY 
0 0 votes
0 0 answers
266
266 views
Write a program in BlueJQ4. Draw Class Diagram and Object Diagram from the below given Details. public class University{ private Student stdob; private Faculty ...
0 0 votes
0 0 answers
612
612 views
Suppose, you are implementing “Overdraft Account (OD)” class using java for a banking app. An OD type account is opened with an approved loan limit (ex 100000/-). The acc...
1 1 vote
1 1 answer
652
652 views
An object whose contents cannot be changed once the object is created is called:(a) Immutable object(b) Mutable object(c) Smart object(d) Rich object
0 0 votes
0 0 answers
457
457 views
Which one of the following contains date information?java.sql.TimeStampjava.sql.Timejava.io.Timejava.io.TimeStamp
0 0 votes
1 1 answer
750
750 views
Java Virtual Machine $\text{(JVM)}$ is used to execute architectural neutral byte code. Which of the following is needed by the $\text{JVM}$ for execution of Java Code?C...
1 1 vote
1 1 answer
813
813 views
Which of the following construct is not supported by Java Server Pages?$\text{JSP}$ Directives$\text{JSP}$ Scriptlets$\text{JSP}$ Actions$\text{JSP}$ Reaction
1 1 vote
1 1 answer
982
982 views
What is the output of the following program?abstract class sum { public abstract int sumOfTwo(int n1, int n2); public abstract int sumOfThree(int n1, int n2, int n3); pub...
1 1 vote
1 1 answer
856
856 views
The static keyword is used in public static void main() declaration in Java:To enable the $\text{JVM}$ to make call to the main(), as class has not been instantiatedTo en...
1 1 vote
1 1 answer
868
868 views
Which of the following Interface is not supported by $\text{JDBC}$ for connecting to Database in Java Programming language?Statement InterfacePrepared Statement Interface...
1 1 vote
1 1 answer
936
936 views
In the given program:class Dialog1 { public static void main(String args[]) { Frame f1=new Frame("INDIA"); f1.setSize(300,300); f1.setVisible(true); FileDialog d=new File...
1 1 vote
1 1 answer
808
808 views
Which of the following are two main types of overloading in Java?Overloading and linkingOverriding and linkingReusability and data-hidingOverloading and Overriding
1 1 vote
2 2 answers
1.1k
1.1k views
In Java, for ensuring the persistence property, the class must implements:Serializable InterfaceUtilization InterfaceThreadable InterfaceRecognizable Interface
1 1 vote
1 1 answer
1.1k
1.1k views
In Java, the Dynamic Array are known as :VectorsCycleRemoteKubernotos
0 0 votes
1 1 answer
1.5k
1.5k views
Is null an object?YesNoSometimes yesNone of these
0 0 votes
1 1 answer
1.1k
1.1k views
Earlier name of Java programming language was:OAKDNetbeanEclipse
0 0 votes
1 1 answer
1.5k
1.5k views
Which of the following is a platform free language?JAVACAssemblyFortran
1 1 vote
1 1 answer
8.1k
8.1k views
Which of the following is/are true about packages in Java? Every class is part of some package.All classes in a file are part of the same package.If no package is specif...
3 3 votes
1 1 answer
35.0k
35.0k views
Which of the following is false about abstract classes in Java?If we derive an abstract class and do not implement all the abstract methods, then the derived class should...
2 2 votes
1 1 answer
13.8k
13.8k views
Which of the following is true about interfaces in Java? An interface can contain following type of members. $\dots$ public, static, final fields(i.e., constants)$\dots$...
0 0 votes
6 6 answers
4.1k
4.1k views
Consider the following JAVA program:public class First { public static int CBSE (int x) { if (x < 100)x = CBSE (x+10); return (x-1); } public ...
0 0 votes
3 3 answers
11.5k
11.5k views
Which of the following statement(s) with regard to an abstract class in JAVA is /are TRUE ?An abstract class is one that is not used to create objectsAn abstract class is...
1 1 vote
2 2 answers
3.0k
3.0k views
What is the output of the following JAVA program?public class Good { private int m; public Good (int m){this.m=m;} public Boolean equals (Good n) {return n.m==m;} public ...
0 0 votes
0 0 answers
2.4k
2.4k views
Consider the following recursive Java function $f$ that takes two long arguments and returns a float value :public static float f(long m, long n) { float result = (float)...
1 1 vote
3 3 answers
5.4k
5.4k views
What is the output of the following JAVA program?class simple { public static void main(String[ ] args) { simple obj = new simple(); obj.start(); } void start() { long []...