Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Recent questions 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
407
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
397
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
465
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
462
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
467
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
390
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
580
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
671
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
975
views
admin
asked
Apr 1, 2020
Java
nielit2017oct-assistanta-it
non-gate
java
+
–
0
votes
1
answer
10
NIELIT 2016 DEC Scientist B (IT) - Section B: 6
Earlier name of Java programming language was: OAK D Netbean Eclipse
Earlier name of Java programming language was:OAKDNetbeanEclipse
admin
720
views
admin
asked
Mar 31, 2020
Java
nielit2016dec-scientistb-it
non-gate
java
+
–
0
votes
1
answer
11
NIELIT 2016 DEC Scientist B (IT) - Section B: 9
Which of the following is a platform free language? JAVA C Assembly Fortran
Which of the following is a platform free language?JAVACAssemblyFortran
admin
1.0k
views
admin
asked
Mar 31, 2020
Java
nielit2016dec-scientistb-it
non-gate
java
+
–
1
votes
1
answer
12
NIELIT 2017 July Scientist B (IT) - Section B: 41
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 specified, the classes in the file go into a special unnamed package. If no package is specified, a ... in this package. Only $1,2$ and $3$ Only $1,2$ and $4$ Only $4$ Only $1$ and $3$
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...
admin
6.7k
views
admin
asked
Mar 30, 2020
Java
nielit2017july-scientistb-it
non-gate
java
+
–
2
votes
1
answer
13
NIELIT 2017 July Scientist B (IT) - Section B: 42
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 also be marked as abstract using 'abstract' ... . A class can be made abstract without any abstract method. A class can inherit from multiple abstract classes.
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...
admin
33.5k
views
admin
asked
Mar 30, 2020
Java
nielit2017july-scientistb-it
non-gate
java
+
–
2
votes
1
answer
14
NIELIT 2017 July Scientist B (IT) - Section B: 43
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$default and static methods with bodies. An instance of interface can be created. A class can implement multiple ... . $1,3$ and $4$ $1,2$ and $4$ $2,3$ and $4$ $1,2,3$ and $4$
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$...
admin
10.7k
views
admin
asked
Mar 30, 2020
Java
nielit2017july-scientistb-it
non-gate
java
+
–
1
votes
2
answers
15
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
3
answers
16
UGC NET CSE | July 2018 | Part 2 | Question: 3
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 [] P = {3, 4, 5}; long [] Q = method (P); System.out.print (P[0] + P[1] +P[2]+ : ... ]); } long [ ] method (long [ ] R) { R[1] = 7; return R; } } //end of class 12:15 15:12 12:12 15:15
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 []...
Pooja Khatri
4.1k
views
Pooja Khatri
asked
Jul 13, 2018
Java
ugcnetcse-july2018-paper2
java
+
–
1
votes
3
answers
17
self doubt
we know that pointer implementation is not possible in java and dynamic memory allocation is also not possible.Then how we can implement linked list in java?
we know that pointer implementation is not possible in java and dynamic memory allocation is also not possible.Then how we can implement linked list in java?
Ravi prakash pandey
640
views
Ravi prakash pandey
asked
Jul 9, 2017
Java
linked-list
+
–
3
votes
3
answers
18
ISRO2017-74
Which of these is a super class of all errors and exceptions in the Java language? Runtime Exceptions Throwable Catchable None of the above
Which of these is a super class of all errors and exceptions in the Java language?Runtime ExceptionsThrowableCatchableNone of the above
sh!va
7.1k
views
sh!va
asked
May 7, 2017
Java
isro2017
java
+
–
2
votes
3
answers
19
UGC NET CSE | August 2016 | Part 3 | Question: 42
Java uses threads to enable the entire environment to be ______. Symmetric Asymmetric Synchronous Asynchronous
Java uses threads to enable the entire environment to be ______.SymmetricAsymmetricSynchronousAsynchronous
makhdoom ghaya
2.6k
views
makhdoom ghaya
asked
Oct 4, 2016
Java
ugcnetcse-aug2016-paper3
java
threads
+
–
1
votes
1
answer
20
UGC NET CSE | August 2016 | Part 3 | Question: 40
Which of the following is not a correct statement ? Every class containing abstract method must be declared abstract. Abstract class can directly be initiated with ‘new’ operator. Abstract class can be initiated. Abstract class does not contain any definition of implementation.
Which of the following is not a correct statement ?Every class containing abstract method must be declared abstract.Abstract class can directly be initiated with ‘new�...
makhdoom ghaya
2.5k
views
makhdoom ghaya
asked
Oct 1, 2016
Java
ugcnetcse-aug2016-paper3
java
abstract-method
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register