The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Facebook Login
or
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Recent questions tagged java
+1
vote
1
answer
1
UGCNET-June-2019-II-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); Good m2 = new ... println(s1.equals(m2)); } } True, True, False, False True, False, True, False True, True, False, True True, False, False, False
asked
Jul 2
in
Java
by
Arjun
Veteran
(
424k
points)
|
111
views
ugcnetjune2019ii
java
0
votes
2
answers
2
UGCNET-July-2018-II-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]+ : ); System.out.print ... + Q[2]); } long [ ] method (long [ ] R) { R[1] = 7; return R; } } //end of class 12:15 15:12 12:12 15:15
asked
Jul 13, 2018
in
Java
by
Pooja Khatri
Boss
(
10.8k
points)
|
774
views
ugcnetjuly2018ii
java
0
votes
3
answers
3
UGCNET-July-2018-II-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: Java permits a class ... It is called method overloading Code: S1 and S2 only S1 and S3 only S2 and S3 only All of S1, S2 and S3
asked
Jul 13, 2018
in
Object Oriented Programming
by
Pooja Khatri
Boss
(
10.8k
points)
|
302
views
ugcnetjuly2018ii
object-oriented-programming
java
final
0
votes
1
answer
4
UGCNET-July-2018-II-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
asked
Jul 13, 2018
in
Programming
by
Pooja Khatri
Boss
(
10.8k
points)
|
537
views
ugcnetjuly2018ii
programming-in-c
java
0
votes
0
answers
5
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 + strb ... .out.print (stra); return good ; } } (1) dogood : dogoodgood (2) dogood : gooddogood (3) dogood : dodogood (4) dogood : dogood
asked
Jun 29, 2018
in
Others
by
Roma_nagpal
(
193
points)
|
149
views
java
0
votes
0
answers
6
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?
asked
Jun 14, 2018
in
Programming
by
AlexanderGallaghers
(
5
points)
|
38
views
java
descriptive
+1
vote
1
answer
7
Programming
Output is? With explanation
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
76
views
programming-in-c
programming
cpp
java
output
+2
votes
1
answer
8
Programming
Explain the answer.
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
54
views
programming-in-c
java
cpp
output
programming
+1
vote
0
answers
9
Programming
What is the correct Answer ? My answer is 90 and given answer is no output how?
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
64
views
programming-in-c
programming
java
cpp
output
+1
vote
1
answer
10
Programming
How to predict it
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
58
views
programming-in-c
programming
java
cpp
+2
votes
0
answers
11
Programming language
please explain it
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
28
views
programming
java
+2
votes
0
answers
12
Programming language
Please explain in detail
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
34
views
java
programming
+2
votes
1
answer
13
Programming language
Why option a and d are wrong ....I know the answer ...please explain only why option are wrong
asked
Jan 14, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
55
views
programming-in-c
programming
java
+1
vote
1
answer
14
Programming
asked
Jan 13, 2018
in
Programming
by
Harikesh Kumar
Junior
(
875
points)
|
48
views
java
programming
+3
votes
4
answers
15
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
asked
May 7, 2017
in
Java
by
sh!va
Boss
(
32.5k
points)
|
2.6k
views
isro2017
java
+2
votes
1
answer
16
web technology: servlet
Which of the following statements is false ? (A) A servlet can be invoked through a JavaScript (B) A servlet can be invoked through an applet (C) A servlet is executed on the server side (D) A servlet instance is created for each client request
asked
Mar 6, 2017
in
Web Technologies
by
Beyonder
(
499
points)
|
266
views
web-technologies
java
0
votes
3
answers
17
UGCNET-DEC2016-III-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
asked
Jan 31, 2017
in
Java
by
jothee
Veteran
(
105k
points)
|
1.9k
views
ugcnetdec2016iii
java
programming
recursion
+2
votes
3
answers
18
UGCNET-AUG2016-III-42
Java uses threads to enable the entire environment to be ______. Symmetric Asymmetric Synchronous Asynchronous
asked
Oct 4, 2016
in
Java
by
makhdoom ghaya
Boss
(
30.1k
points)
|
706
views
ugcnetaug2016iii
java
threads
+1
vote
1
answer
19
UGCNET-AUG2016-III-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.
asked
Oct 1, 2016
in
Java
by
makhdoom ghaya
Boss
(
30.1k
points)
|
250
views
ugcnetaug2016iii
java
abstract-method
+1
vote
2
answers
20
UGCNET-AUG2016-III-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.
asked
Oct 1, 2016
in
Java
by
makhdoom ghaya
Boss
(
30.1k
points)
|
366
views
ugcnetaug2016iii
java
method-overriding
0
votes
0
answers
21
Spring Framework
Write a Sample Test Application using Spring Framework to retrieve a bean that is declared in classpath application context.
asked
Sep 24, 2016
in
Programming
by
सुमित सिंह
(
45
points)
|
56
views
java
javascript
programming
spring
#application
0
votes
1
answer
22
Select the difference between Java and C++
Spot the features that are present in C++ not in Java: I. New operator II. Delete opeartor III. Objects stored in stack memory. IV . Objects stored in Heap memory a. III only b. II and III only c. III only d. All features are present in C++ and Java
asked
Sep 2, 2016
in
Programming
by
sh!va
Boss
(
32.5k
points)
|
84
views
cpp
java
programming
0
votes
0
answers
23
Please suggest MCQ Book for JAVA
Can anyone suggest s good MCQ Book for JAVA for experienced posts!
asked
Sep 2, 2016
in
Job Queries
by
sh!va
Boss
(
32.5k
points)
|
151
views
java
+1
vote
2
answers
24
UGCNET-June2011-II-15
Portable program means Program with wheels Independent from its authors Independent of platform None of the above
asked
Aug 23, 2016
in
Others
by
makhdoom ghaya
Boss
(
30.1k
points)
|
188
views
ugcnetjune2011ii
programming
java
+2
votes
1
answer
25
UGCNET-June2016-III-42
When one object reference variable is assigned to another object reference variable then a copy of the object is created a copy of the reference is created a copy of the reference is not created It is illegal to assign one object reference variable to another object reference variable
asked
Aug 20, 2016
in
Others
by
jothee
Veteran
(
105k
points)
|
1.1k
views
ugcnetjune2016iii
object-oriented-programming
java
+2
votes
2
answers
26
UGCNET-June2016-III-40
Which of the following statements is correct? Every class containing abstract method must not be declared abstract Abstract class cannot be directly initiated with new operator Abstract class cannot be initiated Abstract class contains definition of implementations
asked
Aug 20, 2016
in
Others
by
jothee
Veteran
(
105k
points)
|
1.1k
views
ugcnetjune2016iii
oops
java
+2
votes
1
answer
27
UGCNET-June2016-III-38
It is possible to define a class within a class termed as nested class. There are __ types of nested classes 2 3 4 5
asked
Aug 20, 2016
in
Object Oriented Programming
by
jothee
Veteran
(
105k
points)
|
1.1k
views
ugcnetjune2016iii
object-oriented-programming
java
+3
votes
2
answers
28
UGCNET-June2015-III-39
Which one of the following is correct? Java applets cannot be written in any programming language An applet is not a small program An applet can be run on its own Applets are embedded in another applications
asked
Aug 1, 2016
in
Object Oriented Programming
by
jothee
Veteran
(
105k
points)
|
605
views
ugcnetjune2015iii
object-oriented-programming
java
+2
votes
1
answer
29
UGCNET-June2015-III-38
The Servlet Response interface enables a servlet to formulate a response for a client using the method void log(Exception e, String s) void destroy() int get ServerPort() void set ContextType(String Type)
asked
Aug 1, 2016
in
Object Oriented Programming
by
jothee
Veteran
(
105k
points)
|
785
views
ugcnetjune2015iii
object-oriented-programming
java
+2
votes
1
answer
30
UGCNET-June2015-III-37
In Java, when we implement an interface method, it must be declared as Private Protected Public Friend
asked
Aug 1, 2016
in
Object Oriented Programming
by
jothee
Veteran
(
105k
points)
|
600
views
ugcnetjune2015iii
object-oriented-programming
java
Page:
1
2
next »
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Linear Algebra Important Points
GATE 2020
OFFICIAL GATE MOCK TEST RELEASED
IIITH: Winter Research Admissions 2019 (For Spring 2020)
TIFR and JEST exam
Follow @csegate
Recent questions tagged java
Recent Blog Comments
It's a question not a post..
i also don't have any pdf, actually, I added the...
i don't have , if you have upload it
@mohan123 Do you have all standard book...
bro can be upload all standard book questions in...
50,647
questions
56,465
answers
195,380
comments
100,306
users