Java
Test
Model Test
Ebook
Quiz 1: Java Programming
Index
Java Home
Basics
31
Methods
11
I/O
3
Appendix
2
Control Structure
4
Class and Object
11
OOP Concepts
18
Exception Handling
10
Threading
15
Operators
15
Collection
12
Schools
Ebook
Question:
Java is designed by -
A
James Gosling
B
Joyce Farrel
C
Schildt
D
Resmus Lerdorf
Note:
Not available
Show answer
Show Note
Report
Question:
Java was appeared in -
A
1970
B
1995
C
1985
D
2000
Note:
Not available
Show answer
Show Note
Report
Question:
To write java program we can use notepad. To go to the notepad from command prompt what we have to write?
A
notepad
B
editorial
C
edit
D
command prompt
Note:
Not available
Show answer
Show Note
Report
Question:
To go one folder to another in command prompt we need to write -
A
cd folder_name
B
cd..
C
../cd folder_name
D
folder_name
Note:
Not available
Show answer
Show Note
Report
Question:
To go back one folder in command prompt we have to type-
A
..cd/
B
cd
C
cd..
D
cd:
Note:
Not available
Show answer
Show Note
Report
Question:
Java is an Object-Oriented language.
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
Question:
We save a java program file according to it's class name including an extension .java.
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
Question:
Suppose you have saved a java program file named "Person.java". To compile this file from command prompt what you will write?
A
java Person
B
javac Person.java
C
javac
D
Person.java
Note:
Not available
Show answer
Show Note
Report
Question:
The output of the following java program is Hello world.
class HelloWorld{
public static void main(String args[]){
System.out.println("Hello world");
}
}
A
False
B
True
Note:
Not available
Show answer
Show Note
Report
Question:
We save a java program file according to it's method name.
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
Next
Last
/14
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd