How to write empty function in python


Write empty function in python In C/C++ and Java, we can write empty function as following

But in python we write like that than the compile error is occurred


To write empty functions, we use pass… Continue Reading


Exception Handling in java programming


Exception Handling A java exception is an object that describe an error condition that has occurred in a piece of code. Example

The compilation of code is executed properly but when we compile the code that was error occurred… Continue Reading


Type promotion of expression in java

Type promotion of expression in java In an expression the precision required of an Intermediate value will sometimes exceed the range of other operand For example

expression (a*b) easily exceed the range of its byte operand.Thus, java promote each… Continue Reading