Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions and answers in Java
458
views
1
answers
1
votes
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); ... $\text{Error}$
manishankarkanrar
458
views
manishankarkanrar
answered
4 days
ago
Java
nielit-sta-2020
numerical-answers
java
+
–
643
views
2
answers
1
votes
NIELIT Scientific Assistant A 2020 November: 110
In Java, for ensuring the persistence property, the class must implements:Serializable InterfaceUtilization InterfaceThreadable InterfaceRecognizable Interface
_Shubham_.Singh_
643
views
_Shubham_.Singh_
answered
Aug 9, 2023
Java
nielit-sta-2020
java
+
–
723
views
1
answers
1
votes
NIELIT Scientific Assistant A 2020 November: 112
In Java, the Dynamic Array are known as :VectorsCycleRemoteKubernotos
Asim Siddiqui 4
723
views
Asim Siddiqui 4
answered
Mar 20, 2021
Java
nielit-sta-2020
java
+
–
443
views
1
answers
1
votes
NIELIT Scientific Assistant A 2020 November: 108
Which of the following are two main types of overloading in Java?Overloading and linkingOverriding and linkingReusability and data-hidingOverloading and Overriding
Asim Siddiqui 4
443
views
Asim Siddiqui 4
answered
Mar 20, 2021
Java
nielit-sta-2020
java
+
–
504
views
1
answers
1
votes
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); ... are true?f1.setClear(true);f1.setVisible(true);f1.setlook(true);f1.setclean(true);
Asim Siddiqui 4
504
views
Asim Siddiqui 4
answered
Mar 20, 2021
Java
nielit-sta-2020
java
+
–
499
views
1
answers
1
votes
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 InterfacePrepared Statement InterfaceCallable Statement InterfaceDatabase Interface
Asim Siddiqui 4
499
views
Asim Siddiqui 4
answered
Mar 19, 2021
Java
nielit-sta-2020
java
+
–
499
views
1
answers
1
votes
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 ... $\text{JVM}$ to make call to the main(), as class has not been finalized
Asim Siddiqui 4
499
views
Asim Siddiqui 4
answered
Mar 18, 2021
Java
nielit-sta-2020
java
+
–
451
views
1
answers
1
votes
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
Asim Siddiqui 4
451
views
Asim Siddiqui 4
answered
Mar 13, 2021
Java
nielit-sta-2020
java
+
–
4.3k
views
3
answers
1
votes
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 ... R) { R[1] = 7; return R; } } //end of class12:1515:1212:1215:15
PinkiSharma
4.3k
views
PinkiSharma
answered
Jul 21, 2020
Java
ugcnetcse-july2018-paper2
java
+
–
2.2k
views
2
answers
1
votes
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) { ... False, FalseTrue, False, True, FalseTrue, True, False, TrueTrue, False, False, False
PinkiSharma
2.2k
views
PinkiSharma
answered
Jul 14, 2020
Java
ugcnetcse-june2019-paper2
java
+
–
1.1k
views
1
answers
0
votes
NIELIT 2016 DEC Scientist B (IT) - Section B: 9
Which of the following is a platform free language?JAVACAssemblyFortran
Mohit Kumar 6
1.1k
views
Mohit Kumar 6
answered
May 27, 2020
Java
nielit2016dec-scientistb-it
non-gate
java
+
–
1.0k
views
1
answers
0
votes
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 8
Is null an object?YesNoSometimes yesNone of these
Mohit Kumar 6
1.0k
views
Mohit Kumar 6
answered
May 6, 2020
Java
nielit2017oct-assistanta-it
non-gate
java
+
–
780
views
1
answers
0
votes
NIELIT 2016 DEC Scientist B (IT) - Section B: 6
Earlier name of Java programming language was:OAKDNetbeanEclipse
Saitheja Muthoju
780
views
Saitheja Muthoju
answered
Apr 26, 2020
Java
nielit2016dec-scientistb-it
non-gate
java
+
–
7.1k
views
1
answers
1
votes
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 ... $3$Only $1,2$ and $4$Only $4$Only $1$ and $3$
smsubham
7.1k
views
smsubham
answered
Mar 30, 2020
Java
nielit2017july-scientistb-it
non-gate
java
+
–
33.8k
views
1
answers
2
votes
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 ... abstract without any abstract method.A class can inherit from multiple abstract classes.
smsubham
33.8k
views
smsubham
answered
Mar 30, 2020
Java
nielit2017july-scientistb-it
non-gate
java
+
–
11.3k
views
1
answers
2
votes
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 ... $1,2$ and $4$2,3$ and $4$1,2,3$ and $4$
smsubham
11.3k
views
smsubham
answered
Mar 30, 2020
Java
nielit2017july-scientistb-it
non-gate
java
+
–
4.0k
views
3
answers
5
votes
ISRO2011-44
In Java, after executing the following code what are the values of x, y and z?int x,y=10; z=12;x=y++ + z++;x=22, y=10, z=12x=24, y=10, z=12x=24, y=11, z=13x=22, y=11, z=13
swapnilbaviskar10
4.0k
views
swapnilbaviskar10
answered
Jan 5, 2020
Java
isro2011
non-gate
java
+
–
2.7k
views
3
answers
2
votes
UGC NET CSE | August 2016 | Part 3 | Question: 42
Java uses threads to enable the entire environment to be ______.SymmetricAsymmetricSynchronousAsynchronous
Shailendra_
2.7k
views
Shailendra_
answered
Aug 26, 2019
Java
ugcnetcse-aug2016-paper3
java
threads
+
–
6.1k
views
2
answers
1
votes
UGC NET CSE | December 2014 | Part 3 | Question: 37
Which methods are utilized to control the access to an object in multi-threaded programming ? Asynchronized methods Synchronized methods Serialized methodsNone of the above
Gurdeep Saini
6.1k
views
Gurdeep Saini
answered
Mar 1, 2019
Java
ugcnetcse-dec2014-paper3
java
multi-threaded-programming
+
–
1.9k
views
2
answers
1
votes
UGC NET CSE | June 2014 | Part 3 | Question: 52
Match the following interfaces of Java. Servlet package $:$\begin{array}{clcl} & \textbf{List - I} && \textbf{List - II}\\ \text{a.}& \text{Servlet config} & \text{i} & \text{Enables ... -ii, b-iii, c-iv, d-i}$\text{a-iv, b-i, c-ii, d-iii}$
Prasanjeet Ghosh
1.9k
views
Prasanjeet Ghosh
answered
May 18, 2018
Java
ugcnetjune2014iii
java
servlet
+
–
714
views
3
answers
1
votes
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?
smsubham
714
views
smsubham
answered
Oct 30, 2017
Java
linked-list
+
–
11.1k
views
3
answers
2
votes
UGC NET CSE | June 2016 | Part 3 | Question: 40
Which of the following statements is correct?Every class containing abstract method must not be declared abstractAbstract class cannot be ... operatorAbstract class cannot be initiatedAbstract class contains definition of implementations
rishu_darkshadow
11.1k
views
rishu_darkshadow
answered
Sep 13, 2017
Java
ugcnetcse-june2016-paper3
oops
java
+
–
2.7k
views
2
answers
1
votes
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.
rishu_darkshadow
2.7k
views
rishu_darkshadow
answered
Aug 27, 2017
Java
ugcnetcse-aug2016-paper3
java
method-overriding
+
–
7.2k
views
3
answers
3
votes
ISRO2017-74
Which of these is a super class of all errors and exceptions in the Java language?Runtime ExceptionsThrowableCatchableNone of the above
_aniket24_
7.2k
views
_aniket24_
answered
May 8, 2017
Java
isro2017
java
+
–
5.1k
views
3
answers
2
votes
ISRO2014-29
Consider the following Java code fragment:public class While { public void loop() { int x = 0; while(1) { System.out.println("x plus one is" +(x+1)); } } } ... nos. 1 & 6There is syntax error in line no. 8There is syntax error in line no. 6
Regina Phalange
5.1k
views
Regina Phalange
answered
Apr 5, 2017
Java
isro2014
java
non-gate
+
–
2.5k
views
1
answers
1
votes
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 ... can be initiated.Abstract class does not contain any definition of implementation.
Sanjay Sharma
2.5k
views
Sanjay Sharma
answered
Oct 1, 2016
Java
ugcnetcse-aug2016-paper3
java
abstract-method
+
–
1.5k
views
1
answers
2
votes
UGC NET CSE | December 2014 | Part 3 | Question: 42
Which method is called first by an applet program ? start( ) run( ) init( ) begin( )
Sanjay Sharma
1.5k
views
Sanjay Sharma
answered
Jul 29, 2016
Java
ugcnetcse-dec2014-paper3
java
applet
+
–
2.8k
views
1
answers
1
votes
UGC NET CSE | December 2014 | Part 3 | Question: 39
Converting a primitive type data into its corresponding wrapper class object instance is called BoxingWrapping InstantiationAutoboxing
LavTheRawkstar
2.8k
views
LavTheRawkstar
answered
Jul 28, 2016
Java
ugcnetcse-dec2014-paper3
java
wrapper-class-object
+
–
2.2k
views
1
answers
1
votes
Programming Question [JAVA OOPS ]
Which of the following methods from Object is final ( that it cannot be overriden ) ?(A) finalize method(B) clone method(C) hashCode method(D) getClass method
Shubhi Tiwari
2.2k
views
Shubhi Tiwari
answered
Jun 28, 2016
Java
non-gate
java
+
–
3.6k
views
1
answers
0
votes
Java
What is the output of this program? class Conversion { public static void main(String args[]) { double a = 295.04; int b = 300; byte c = (byte) a; byte d = (byte) b; ... println(c + " " + d); } }a) 38 43b) 39 44c) 295 300d) 295.04 300
Shubhi Tiwari
3.6k
views
Shubhi Tiwari
answered
Jun 28, 2016
Java
java
type-conversion
+
–
4.0k
views
2
answers
7
votes
ISRO2011-72
Find the output of the following Java code line System.out.printIn(math.floor(-7.4))-7-8-7.4-7.0
kvkumar
4.0k
views
kvkumar
answered
Jun 26, 2016
Java
isro2011
non-gate
java
+
–
Help get things started by
asking a question
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register