- HTTP is Hyper Text Transfer Protocolo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from abc import ABC, abstractmethod | |
class PC: | |
def __init__(self): | |
print("PC initialized") | |
class MotherBoard: | |
def start(self): | |
print("MotherBoard started") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("dada'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package oct.ex_18102024_Strings_Wrapper; | |
public class Test { | |
public static void main(String[] args) { | |
ABC a = new ABC(); | |
a.f1(); | |
} | |
} | |
class XYZ{ |
- 4 months in Java to Better , Follow The ROADMAP.
- How do we see the recordings?
- 0x - Job Software Testing Blueprint
- How to join the class - WhatsApp Community, SDET.club or Email
- Required Access - Form
- Required Accesshttps://forms.gle/L47EKJns4ZPobLUH6
- SDET Club -
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MaxNumber { | |
public static void main(String[] args) { | |
int num1 = 10; // Example number 1 | |
int num2 = 20; // Example number 2 | |
// Using ternary operator to find maximum | |
int max = (num1 > num2) ? num1 : num2; | |
// Printing the result | |
System.out.println("The maximum of " + num1 + " and " + num2 + " is: " + max); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class UserInput { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
// Taking user input | |
System.out.print("Enter your name: "); | |
String name = scanner.nextLine(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Oct.ex_02102024_MainMethod; | |
public class Lab001 { | |
public static void main(String[] args){ | |
System.out.println("Hello World!"); | |
System.out.println("pramod"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import io | |
from google.oauth2 import service_account | |
from googleapiclient.discovery import build | |
from googleapiclient.http import MediaFileUpload | |
# Set up the Drive API | |
SCOPES = ['https://www.googleapis.com/auth/drive.file'] | |
SERVICE_ACCOUNT_FILE = 'path/to/credentials.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("After running the API") | |
console.log("Testcases written by Us") | |
console.log(pm.info.requestName); | |
// Postman Syntax for Text is based on the ChaiJS | |
console.log(pm.response.text()); // text response | |
console.log(pm.response.json()); // json response | |
console.log(pm.response.code); // 200 |
NewerOlder