Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Technology Questions
In Java I/O, how can you create a new empty file on the hard disk using an existing java.io.File object?
In Java, which File class method is commonly used to create a new directory on the hard disk at the specified path?
In Java, how can you check at runtime whether a given java.io.File object actually represents a regular file on the hard disk?
In Java, how can you check whether a given java.io.File object represents a directory (folder) rather than a regular file?
In Java, which java.io.File method is used to obtain the last modified timestamp of a file so that you can determine when it was last changed?
In Java, which java.io.File method can you use to retrieve the names or entries contained inside a directory (folder) path?
In operating systems and Java concurrency, what is a thread in the context of program execution?
In operating systems, what is multitasking and what does it allow a computer to do from the user's point of view?
In Java, what is multithreading and how does it differ from general operating system multitasking?
In Java, what are the two standard ways to create and start a new thread for multithreading within an application?
In Java multithreading, why is synchronization needed when multiple threads access shared data or critical sections of code?
In Java exception handling, when is the finally block of a try-catch-finally construct executed in normal circumstances?
In Java, how do you normally invoke a constructor to create a new object instance from client code?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79