Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for java
2
votes
1
answer
1
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
+
–
0
votes
0
answers
2
Objects First with Java™: A Practical Introduction Using BlueJ
Write a program in BlueJ Q4. Draw Class Diagram and Object Diagram from the below given Details. public class University { private Student stdob; private Faculty fctob; }
Write a program in BlueJQ4. Draw Class Diagram and Object Diagram from the below given Details. public class University{ private Student stdob; private Faculty ...
Ebrahim
80
views
Ebrahim
asked
Jan 12
Programming in C
java
+
–
0
votes
1
answer
3
ISRO 2024
A standard Java API for monitoring and managing applications is JVM JVN JMX JMY
A standard Java API for monitoring and managing applications isJVMJVNJMXJMY
Ramayya
170
views
Ramayya
asked
Jan 7
IS&Software Engineering
java
non-gate
+
–
1
votes
2
answers
4
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
+
–
0
votes
0
answers
5
Java Programming
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 account holder can deposit any amount of money in the OD account at any time. S ... amount of his OD limit. How can u handle the problems mentioned in the question? Write necessary java codes to solve the problem.
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...
rayhanrjt
323
views
rayhanrjt
asked
Dec 15, 2022
Programming in C
programming
object-oriented-programming
java
+
–
1
votes
1
answer
6
Programming Question
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
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
rsansiya111
375
views
rsansiya111
asked
Oct 7, 2022
Programming in C
java
object-oriented-programming
+
–
2
votes
1
answer
7
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
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
672
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
9
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
10
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
391
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
11
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
12
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
467
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
13
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
14
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
398
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
numerical-answers
java
+
–
1
votes
1
answer
15
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
+
–
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
+
–
0
votes
3
answers
17
UGC NET CSE | January 2017 | Part 3 | Question: 40
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 objects An abstract class is designed only to act as a base class to be inherited by other classes Only I only II Neither I nor II Both I and II
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...
go_editor
9.8k
views
go_editor
asked
Mar 24, 2020
Object Oriented Programming
ugcnetcse-jan2017-paper3
object-oriented-programming
java
+
–
1
votes
2
answers
18
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
+
–
0
votes
6
answers
19
UGC NET CSE | January 2017 | Part 3 | Question: 39
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 static void main(String[]args){ System.out.print(First.CBSE(60)); } } What does this program print? $59$ $95$ $69$ $99$
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 ...
go_editor
2.0k
views
go_editor
asked
Mar 24, 2020
Object Oriented Programming
ugcnetcse-jan2017-paper3
object-oriented-programming
java
+
–
0
votes
1
answer
20
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
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register