Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged java
0
votes
0
answers
1
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
82
views
Ebrahim
asked
Jan 12
Programming in C
java
+
–
0
votes
1
answer
2
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
177
views
Ramayya
asked
Jan 7
IS&Software Engineering
java
non-gate
+
–
0
votes
0
answers
3
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
324
views
rayhanrjt
asked
Dec 15, 2022
Programming in C
programming
object-oriented-programming
java
+
–
1
votes
1
answer
4
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
381
views
rsansiya111
asked
Oct 7, 2022
Programming in C
java
object-oriented-programming
+
–
1
votes
1
answer
5
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
412
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
6
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
402
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
numerical-answers
java
+
–
1
votes
1
answer
7
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
469
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
8
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
464
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
9
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
473
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
396
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
2
answers
11
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
586
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
1
votes
1
answer
12
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
675
views
gatecse
asked
Dec 9, 2020
Java
nielit-sta-2020
java
+
–
0
votes
1
answer
13
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
986
views
admin
asked
Apr 1, 2020
Java
nielit2017oct-assistanta-it
non-gate
java
+
–
0
votes
1
answer
14
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
726
views
admin
asked
Mar 31, 2020
Java
nielit2016dec-scientistb-it
non-gate
java
+
–
0
votes
1
answer
15
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
16
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
17
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
18
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
+
–
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.1k
views
go_editor
asked
Mar 24, 2020
Object Oriented Programming
ugcnetcse-jan2017-paper3
object-oriented-programming
java
+
–
0
votes
3
answers
20
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
21
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
22
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.2k
views
Pooja Khatri
asked
Jul 13, 2018
Java
ugcnetcse-july2018-paper2
java
+
–
0
votes
3
answers
23
UGC NET CSE | July 2018 | Part 2 | Question: 6
In Java, which of the following statements is/are TRUE? S1: The final' keyword applied to a class definition prevents the class form being extended through derivation S2: A class can only inherit one class but can implement multiple interfaces S3: ... called method overloading Code: S1 and S2 only S1 and S3 only S2 and S3 only All of S1, S2 and S3
In Java, which of the following statements is/are TRUE?S1: The ‘final’ keyword applied to a class definition prevents the class form being extended through derivation...
Pooja Khatri
3.7k
views
Pooja Khatri
asked
Jul 13, 2018
Object Oriented Programming
ugcnetcse-july2018-paper2
object-oriented-programming
java
final
+
–
0
votes
1
answer
24
UGC NET CSE | July 2018 | Part 2 | Question: 7
Which of the following statements is/are true? P: C programming language has a weak type system with static types. Q: Java programming language has a string type system with static types Code: P only Q only Both P and Q Neither P nor Q
Which of the following statements is/are true?P: C programming language has a weak type system with static types.Q: Java programming language has a string type system wit...
Pooja Khatri
1.5k
views
Pooja Khatri
asked
Jul 13, 2018
Programming in C
ugcnetcse-july2018-paper2
programming-in-c
java
+
–
0
votes
0
answers
25
UGNET-NOV2017-III: 42
What is the output of the following JAVA program ? Class Test { public static void main (String [ ] args) { Test obj = new Test ( ); obj.start ( ); } void start ( ) { String stra= do ; String strb = method (stra); System.out.print( : + stra + ... .out.print (stra); return good ; } } (1) dogood : dogoodgood (2) dogood : gooddogood (3) dogood : dodogood (4) dogood : dogood
What is the output of the following JAVA program ?Class Test{ public static void main (String [ ] args) { Test obj = new Test ( ); ...
Roma_nagpal
1.6k
views
Roma_nagpal
asked
Jun 29, 2018
Others
java
+
–
0
votes
0
answers
26
what is java
I want some information about the programming language java.What is java?what are the features of java?And what are the structure of java program and compare java with c++.explain about java in simple example.How this best essay writing service is helping to get the genuine essay? Is this service is beneficial?
I want some information about the programming language java.What is java?what are the features of java?And what are the structure of java program and compare java with c+...
AlexanderGallaghers
303
views
AlexanderGallaghers
asked
Jun 14, 2018
Programming in C
java
descriptive
+
–
1
votes
1
answer
27
Programming
Output is? With explanation
Output is? With explanation
Harikesh Kumar
291
views
Harikesh Kumar
asked
Jan 14, 2018
Programming in C
programming-in-c
programming
cpp
java
output
+
–
2
votes
1
answer
28
Programming
Explain the answer.
Explain the answer.
Harikesh Kumar
315
views
Harikesh Kumar
asked
Jan 14, 2018
Programming in C
programming-in-c
java
cpp
output
programming
+
–
Page:
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register