Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Questions without an upvoted answer in Java
1
votes
1
answer
1
NIELIT Scientific Assistant A 2020 November: 68
Which of the following construct is not supported by Java Server Pages? $\text{JSP}$ Directives $\text{JSP}$ Scriptlets $\text{JSP}$ Actions $\text{JSP}$ Reaction
Which of the following construct is not supported by Java Server Pages?$\text{JSP}$ Directives$\text{JSP}$ Scriptlets$\text{JSP}$ Actions$\text{JSP}$ Reaction
gatecse
415
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
2
NIELIT Scientific Assistant A 2020 November: 74
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); public void disp(){ System.out.println("Method of class Sum"); } } class ... $26\\10\\\text{Method of class Sum}$ $\text{Method of class Sum}\\26\\10$ $\text{Error}$
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...
gatecse
407
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
numerical-answers
java
+
–
1
votes
1
answer
3
NIELIT Scientific Assistant A 2020 November: 84
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 instantiated To enable the $\text{JVM}$ to make call to the main(), as class ... as class has not been loaded To enable the $\text{JVM}$ to make call to the main(), as class has not been finalized
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...
gatecse
472
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
4
NIELIT Scientific Assistant A 2020 November: 89
Which of the following Interface is not supported by $\text{JDBC}$ for connecting to Database in Java Programming language? Statement Interface Prepared Statement Interface Callable Statement Interface Database Interface
Which of the following Interface is not supported by $\text{JDBC}$ for connecting to Database in Java Programming language?Statement InterfacePrepared Statement Interface...
gatecse
466
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
5
NIELIT Scientific Assistant A 2020 November: 107
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 FileDialog(f1,"MyDialog"); d.setVisible(true); ... of the following statements are true? f1.setClear(true); f1.setVisible(true); f1.setlook(true); f1.setclean(true);
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...
gatecse
476
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
6
NIELIT Scientific Assistant A 2020 November: 108
Which of the following are two main types of overloading in Java? Overloading and linking Overriding and linking Reusability and data-hiding Overloading and Overriding
Which of the following are two main types of overloading in Java?Overloading and linkingOverriding and linkingReusability and data-hidingOverloading and Overriding
gatecse
404
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
2
answers
7
NIELIT Scientific Assistant A 2020 November: 110
In Java, for ensuring the persistence property, the class must implements: Serializable Interface Utilization Interface Threadable Interface Recognizable Interface
In Java, for ensuring the persistence property, the class must implements:Serializable InterfaceUtilization InterfaceThreadable InterfaceRecognizable Interface
gatecse
591
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
8
NIELIT Scientific Assistant A 2020 November: 112
In Java, the Dynamic Array are known as : Vectors Cycle Remote Kubernotos
In Java, the Dynamic Array are known as :VectorsCycleRemoteKubernotos
gatecse
679
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
0
votes
1
answer
9
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 8
Is null an object? Yes No Sometimes yes None of these
Is null an object?YesNoSometimes yesNone of these
admin
992
views
admin
asked
Apr 1, 2020
Java
nielit2017oct-assistanta-it
non-gate
java
+
–
1
votes
2
answers
10
UGC NET CSE | June 2019 | Part 2 | Question: 23
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 static void main (string args[]){ Good m1 = new Good(22); ... equals(m2)); } } True, True, False, False True, False, True, False True, True, False, True True, False, False, False
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 ...
Arjun
2.0k
views
Arjun
asked
Jul 2, 2019
Java
ugcnetcse-june2019-paper2
java
+
–
1
votes
2
answers
11
UGC NET CSE | August 2016 | Part 3 | Question: 38
Method over-riding can be prevented by using final as a modifier at ______. The start of the class. The start of method declaration. The start of derived class. The start of the method declaration in the derived class.
Method over-riding can be prevented by using final as a modifier at ______.The start of the class.The start of method declaration.The start of derived class.The start of ...
makhdoom ghaya
2.6k
views
makhdoom ghaya
asked
Oct 1, 2016
Java
ugcnetcse-aug2016-paper3
java
method-overriding
+
–
0
votes
1
answer
12
Why am I getting null in the end of string?
output: Ssihtllun sillun ehtllun elbatllun import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Codechef { public static void main (String[] args) throws java.lang.Exception ... i=0;i<arr.length; i++){ if(i>0) ans+=" "; ans+=arr[i]; } return ans; } }
output:Ssihtllun sillun ehtllun elbatllunimport java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ c...
Baljeet Sohal 1
359
views
Baljeet Sohal 1
asked
Aug 9, 2015
Java
java
non-gate
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register