Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Super KeyWord In Java

Java Tutorial Super KeyWord In Java super ek keyword hai Java mein jo inheritance ke context mein istemal hota hai. Ye superclass ke members ko subclass mein refer karne ke liye istemal hota hai. Kuch mahatvapurn points hain: Example: Output: Upar ke Example mein, Animal class mein ek color variable hai. Dog class mein bhi … Read more

Break in Loop

Java Tutorial Break in Loop Jab kisi loop ke andar break statement aati hai, tab woh loop turant khatam ho jaata hai, aur program control agle statement par chala jaata hai jo loop ke baad aata hai. Example: for (int i = 0; i < 10; i++) { if (i == 5) { break; // ... Read more

Comments In Java

Java Tutorial Comment in Java Java mein “comments in java” ek aham hissa hain jise code likhte waqt istemal kiya jaata hai. Comments code mein notes ki tarah hote hain jo code ke functionality, logic, ya documentation ko explain karne mein madad karte hain. Yeh code ke readability ko badhate hain aur dusre developers ko … Read more

Method Overloading in Java

Java Tutorial Method Overloading in Java class Calculator { // Method to add two integers int add(int a, int b) { return a + b; } // Method to add three integers int add(int a, int b, int c) { return a + b + c; } // Method to add two doubles double add(double … Read more

88. Merge Sorted Array

LeetCode Tutorial 88. Merge Sorted Array EASY Array Math Asked In : Hinglish English Is problem ma tere paas do sorted arrays hain, nums1 aur nums2, jinki length hai m aur n individually hai.nums1 mein itni jagah hai ki dono arrays ke elements ko store kr sakta hai. Dono sorted arrays, nums1 aur nums2, ko … Read more

70. Climbing Stairs

LeetCode Tutorial 70. Climbing Stairs EASY Array Math Asked In : Hinglish English 70. Climbing Stairs” ek dynamic programming problem hai, jiska statement yeh hai: “Tumhe n stairs ko climb karna hai. Har bar tum ek ya do stairs oopar ja sakte ho. Tumhe kitne unique tareeke se stairs climb kar sakte ho, yeh count … Read more

66. Plus One

LeetCode Tutorial 66. Plus One EASY Array Math Asked In : Hinglish English Dekh bhai ye question h (Plus One) ka You are given a large integer represented as an integer array digits, The large integer does not contain any leading 0’s. or Koi bhi negative nhi hoga . is ma hame simply jo bhi array diya hai … Read more

58. Length of Last Word

LeetCode Tutorial 58. Length of Last Word EASY String Asked In : Hinglish English Dekh bhai ye question h (Length of Last Word ) ka Given a string s consisting of words and spaces, return the length of the last word in the string.A word is a maximal substring consisting of non-space characters only. Example 1: Input: s = “Hello World” … Read more

35. Search Insert Position

LeetCode Tutorial 35. Search Insert Position EASY Array Binary Search Asked In : Hinglish English Dekh Bhai ye problem h ( Search Insert Position ) ka Is Problem ma hame ek Sorted Array given hoga or ek  target.  hame  find karna hai Index of Target in Array if it found return if not to. uss … Read more

28. Find the Index of the First Occurrence in a String

LeetCode Tutorial 28. Find the Index of the First Occurrence in a String EASY String Two pointer String Matching Asked In : Hinglish English Dekh Bhai ye Question h (Find the Index of the First Occurrence in a String) Is Problem ma aap ko first occurrence find karni hai “Needle” ki “haystack ma. or Agar … Read more