can we have try block without catch or finally block in java

‘try’ block without either a ‘catch’ block or a ‘finally’ block is not allowed in java.The main purpose of a ‘try’ block is to wrap code that might throw an exception, and it must be followed by either a ‘catch’ block to handle exceptions ‘finally’ block to execute code after the ‘try’ block regardless of …

can we have try block without catch or finally block in java Read More »

How to write a JavaScript using eval() function

The eval() method in Java Script evaluates  or  executes its argument. If  the argument is an expression, it evaluates the expression. If  it’s one or more JavaScript statements, eval() executes the statements. This function was used to evaluate a string as JavaScript code, but it is now considered deprecated because it can introduce security vulnerabilities …

How to write a JavaScript using eval() function Read More »

Merge two PDF files into a single using Python

The PDF format which stands for Portable Document Format is widely used for displaying text and graphics in a consistent manner across different platforms and software applications. Python  being a high level programming language offers versability and ease of use when it comes to working with various computer systems. However handling source PDF files and …

Merge two PDF files into a single using Python Read More »

Scroll to Top