Ways in which Java program is less likely to be compromised
Give two ways in which a Java program is less likely to be compromised than the same program written in C++.
Expert
In Java, Primitive and reference data types always passed by value while as in C++ referenced data types are passed by reference.
In Java, we have automatic garbage collection that doesn’t have the concept of Destructor and usage of finalize() is not recommended while have we have to explicitly rely upon destructors and deletete operator to free unused memory.
Give some instances of XML DTDs or schemas which you have worked with?
Syntax error: It is an error detected by the compiler throughout its parsing of a program. The syntax errors generally result from mis-ordering symbols in statements and expressions. Missing curly semicolons and brackets are general illustrations of s
What should I do when installation fails whilst trying to install a Java™ Verified application to a certain S60 device?
Real number: It is a number with an integer and a fractional portion. The primitive types double and float are employed to symbolize real numbers.
Throw statement: It is a statement employed to throw an exception. For example: throw new IndexOutOfBoundsException(i+" is too large.");
Propagation: When an exception is thrown in a method, and there is no suitable exception handler within the method, the exception might be propagated to the caller of the method. For a checked exception, the method should include a throws clause in it
File system: The operating system makes it possible to utilize space on a computer's disk drives by imposing a structured file system on disk storage. Each and every file system contains its own conventions for the manner in which the files are named,
Ans. Applet: An applet is an application designed to travel over the internet and to be executed on the client machine by a java compatible
Explain Dynamic Language Runtime (DLR) briefly?
Who is liable for XML?
18,76,764
1930747 Asked
3,689
Active Tutors
1423653
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!