Technology Questions

Q:

How to create a file on the hard disk by using File class object?

Answer

We can use the following method call:


boolean createNewFile();


This method creates a new file on the HD. 


 


If a file is already existing with the name given in the constructor then this method does not creates file on HD.


If file is successfully created then this method returns true.


If file is already existing on the HD then this method returns false.


This method may throw IOException whenever IO error is generated while creating file on HD.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1825
Q:

What is the difference between JavaScript and Jscript?

Answer

Both JavaScript and Jscript are almost similar. JavaScript was developed by Netscape. Microsoft reverse engineered Javascript and called it JScript.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1824
Q:

What are joins? Explain its characteristic features .

Answer

Joins are used to combine data of one or more tables. Joins should be used when there is abundant data. Joins can be LEFT, RIGHT, OUTER, INNER or even SELF JOIN. The purpose is to bind data from multiple tables without any receptivity

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 1823
Q:

What are the different types of system calls?

Answer

The main types of system calls are as follows:


Process Control: These types of system calls are used to control the processes. Some examples are end, abort, load, execute, create process, terminate process etc.


File Management: These types of system calls are used to manage files. Some examples are Create file, delete file, open, close, read, write etc.


Device Management: These types of system calls are used to manage devices. Some examples are Request device, release device, read, write, get device attributes etc.


Information Maintenance: These types of system calls are used to set system data and get process information. Some examples are time, OS parameters, id, time used etc.


Communications: These types of system calls are used to establish a connection. Some examples are send message, received messages, terminate etc

Report Error

View answer Workspace Report Error Discuss

0 1822
Q:

How to get last modified date of a file?

Answer

long lastModified();


we can give this return value to a date object and we can get data to be displayed.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1822
Q:

How many interactive reports did you write?

Answer

In an Interactive Report, user can define maximum 20 secondary lists.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 1820
Q:

What are the varoius components of physical database structure of Oracle database?

Answer

Oracle database comprises of three kinds of files:
- Datafiles
- Redo log files
- Control files

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 1819
Q:

What do you think is the most important responsibility of a business analyst?

Answer

Requirements gathering, functional design and business process, change management etc are very critical tasks for a business analyst.

Report Error

View answer Workspace Report Error Discuss

2 1818