Java Hello World Program | Java First Program

Let’s start the journey to start Java Programming. Start with Java Programme or you can call it Java Hello world Program (Because we print the Hello world). You need a download and Install JAVA JDK. Then you can use any IDE, Text editor, or Terminal ( command-line console) to write a java program. Java Hello World Read More…


Java String Class | Syntax | Methods | Examples

The string is a sequence of characters. With Java String class can create a string object. Java String Object is immutable, which means once string objects have created then its values can’t be changed. All string literals (sentence/word etc.) in Java programs, for example “xyz”, are implemented as instances of this class. Syntax Here are ways Read More…


Python With Statement | Keyword | Examples

Python With statement will auto close the nested block of code. It has guaranteed to close the file (if using in file handling) or nested loop, this is the main advantage of it. And also get better syntax and exception handling. The With Statement added in python Python 2.5, as an optional feature. Then after Python version 2.6 Read More…


Python Read File Line by Line | ReadLines | Examples

In python, you can read The text from a text file using inbuilt methods. Python Read File Line by line text from the file is comes under the FileHandling. You have to use an open class (function) to get a file object than with the file object can use Readline() function or other function for Read More…