Java

file operations

File operations in java | Java Advanced | Part – 12

Java allows us to perform operations on files. We can read contents of a file and even write some content to the file through a Java program. Isn’t that awesome? 😀 To perform file operations java provides several classes. These classes are all declared in the java.io package. Let’s explore these classes and the methods used to …

File operations in java | Java Advanced | Part – 12 Read More »

what is inheritance

What is inheritance? | Java Advanced | Part-4

What is inheritanc in java Why do I look so similar to my father? My nose is also exactly like him. That’s because you have inherited his features. Inheritance is when a class derives some properties from another class. Just like human beings inherit features from their parents. The class which takes/inherits the properties is known as child class. And …

What is inheritance? | Java Advanced | Part-4 Read More »

constructor in java

What is a constructor in java? | Java Advanced | Part – 3

A constructor is a function with same name as a class that is used to initialize class attributes etc. this function is automatically called when we create an object of that class. A constructor is a function that has the same name as the class. public class learningConstructor{ public learningConstructor(){ //Constructor //statements } } In …

What is a constructor in java? | Java Advanced | Part – 3 Read More »

PYQ of History UGC NET UGC NET Mathematical Reasoning and Aptitude ICT (Digital Initiatives) | UGC NET | paper – 1 The Scope of Information and Communication Technology(ICT) PYQ of People, Development, and Environment Top 30 PYQ of HINDI | UGC NET – 2023 Top 30 PYQ of Teaching Aptitude PYQ of Research Aptitude | NTA UGC NET | Paper 1 | Part 1 UGC NET Paper 1 Syllabus | Updated | 2023 Types of Research | Research Aptitude | nta ugc net | UGC NET 2023