- 385
- 11 530
Sushil Pudke
เข้าร่วมเมื่อ 14 ก.ย. 2011
Mobile App development in native and react native
Mobile App development in native and react native
มุมมอง: 121
วีดีโอ
How to explore React Native cross-platform app development framework? , session for beginners.
มุมมอง 992 ปีที่แล้ว
How to explore React Native cross-platform app development framework? , session for beginners.
Establishing Career in IT Session by Sushil
มุมมอง 772 ปีที่แล้ว
Establishing Career in IT Session by Sushil
Scope Resolution Operator in C++ by Sushil
มุมมอง 352 ปีที่แล้ว
Scope Resolution Operator in C by Sushil
How to become creative and productive in IT? Sunday Session 26 Dec by Sushil.
มุมมอง 342 ปีที่แล้ว
How to become creative and productive in IT? Sunday Session 26 Dec by Sushil.
Analyzing Recent Industrial Needs and Approach of Software Engineer Towards Development By Sushil.
มุมมอง 192 ปีที่แล้ว
Analyzing Recent Industrial Needs and Approach of Software Engineer Towards Development By Sushil.
How to establish IT Career ? Sunday Session with Interns by Sushil
มุมมอง 293 ปีที่แล้ว
How to establish IT Career ? Sunday Session with Interns by Sushil
How to achieve professional excellence ? Session by Sushil for Interns.
มุมมอง 183 ปีที่แล้ว
How to achieve professional excellence ? Session by Sushil for Interns.
Sunday Session How to achieve success in IT career ? By Sushil
มุมมอง 143 ปีที่แล้ว
Sunday Session How to achieve success in IT career ? By Sushil
Object Oriented Programming through C++- Session-02 by Sushil
มุมมอง 143 ปีที่แล้ว
Object Oriented Programming through C - Session-02 by Sushil
Object Oriented Programming through C++ Session -01
มุมมอง 143 ปีที่แล้ว
Object Oriented Programming through C Session -01
Sunday Session - Questions answered by Sushil
มุมมอง 163 ปีที่แล้ว
Sunday Session - Questions answered by Sushil
Session on IT professional Skills, Soft Skills, Ethics by Sushil.
มุมมอง 193 ปีที่แล้ว
Session on IT professional Skills, Soft Skills, Ethics by Sushil.
Object-oriented programming || by sushil pudke.
มุมมอง 153 ปีที่แล้ว
Object-oriented programming || by sushil pudke.
SDLC- Software Development Life Cycle explained by Sushil.
มุมมอง 343 ปีที่แล้ว
SDLC- Software Development Life Cycle explained by Sushil.
Structured Oriented Programming By Sushil Pudke
มุมมอง 183 ปีที่แล้ว
Structured Oriented Programming By Sushil Pudke
State Management using Redux in React Demonstration by Axiom Interns
มุมมอง 863 ปีที่แล้ว
State Management using Redux in React Demonstration by Axiom Interns
React using Context API Demonstration by Axiom Intern
มุมมอง 493 ปีที่แล้ว
React using Context API Demonstration by Axiom Intern
Material Library Using Angular/ React Demonstration By Axiom Interns
มุมมอง 363 ปีที่แล้ว
Material Library Using Angular/ React Demonstration By Axiom Interns
Connecting Angular/React UI with Firebase
มุมมอง 323 ปีที่แล้ว
Connecting Angular/React UI with Firebase
MEAN TechStack Demo By Axiom Interns Part-2
มุมมอง 543 ปีที่แล้ว
MEAN TechStack Demo By Axiom Interns Part-2
MEAN TechStack Demo By Axiom Interns Part-1
มุมมอง 683 ปีที่แล้ว
MEAN TechStack Demo By Axiom Interns Part-1
Understanding GIT and Publishing static Web Site using GIT By Sushil.
มุมมอง 133 ปีที่แล้ว
Understanding GIT and Publishing static Web Site using GIT By Sushil.
Good! Good! Good! Really, you all did well in today's workshop. Your dedication and effort were evident, and it paid off wonderfully. Keep up the excellent work!
Sir this is the very impressive workshop for newbies. Hope everyone should implement this experienced thought's into there career objectives.
Thank You Sir 🙏
👏🤌👍<3
It's a very informative and excellent session given by team Axiom . Specially tnx to Director Sushil Sir and Nutan mam
it's an amazing session by Team Axiom , Appreciable
It's an incredible session by axiom Team , keep it up guys 😊
I am truly grateful for the incredible guidance and mentorship I've received from Sushil Pudke. With their guidance, I've not only gained valuable skills and knowledge but also the confidence to pursue my goals.🙌
Thanks for appreciating my efforts Rushabh , your hardwork and dedication is helping you achieving career goals Stay motivated and continue pursuing your career goals with enthusiasm and determination.👍
Glad to have you Sir on TH-cam
Thanks Sanjoy
very nice sir it is very helpful thank you very much
This Is Great Tutorial For react Native
im searching for this. thanks sir keep going
Thanks sir for the video.
Most welcome
Nice
Nice
Nice
Nice
This is the real situation ..👍
nice!
<?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "myDB"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } extract($_POST); if(isset($save)) { $query="INSERT INTO MyGuests (firstname, lastname, email) VALUES ('$fn', '$ln', '$em');"; if($conn->query($query)) { echo 'congrates!! data saved'; } else { echo 'data not saved '.$conn->error; } } //display data if(isset($disp)) { echo "<br><br><br>"; echo "<center>"; $query="select * from MyGuests"; $result=$conn->query($query); echo "<table border=1>"; echo "<tr><th>ID</th><th>First Name</th><th>Last Name </th><th>Email ID</th><th>Reg Date</th></tr>"; while($row=$result->fetch_array()) { echo "<tr>"; echo "<td>".$row['id']."</td>"; echo "<td>".$row['firstname']."</td>"; echo "<td>".$row['lastname']."</td>"; echo "<td>".$row['email']."</td>"; echo "<td>".$row['reg_date']."</td>"; echo "</tr>"; } echo "</table>"; echo "</center>"; } ?> <body bgcolor="cyan"> <br><br><br><center> <style> input,textarea{width:200px} input[type=submit]{width:100px} </style> <form method="post"> <table width="218" border="0"> <tr> <td width="208"><input type="text" name="fn" placeholder="Enter your First Name"/></td> </tr> <tr> <td><input type="text" name="ln" placeholder="Enter your Last Name"/></td> </tr> <tr> <td><input type="text" name="em" placeholder="Enter your Email Id"/></td> </tr> <tr> <td> <input type="submit" name="save" value="Save Data"/> <input type="submit" name="disp" value="Display Data"/> </td> </tr> </table> </form> </center> </body>
<!-- EStablish Connectivity --> <?php $servername = "localhost"; $username = "root"; $password = ""; // Create connection $conn = new mysqli($servername, $username, $password); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully"; ?> <!-- Creates a DataBase --> <?php $servername = "localhost"; $username = "root"; $password = ""; // Create connection $conn = new mysqli($servername, $username, $password); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } // Create database $sql = "CREATE DATABASE myDB"; if ($conn->query($sql) === TRUE) { echo "Database created successfully"; } else { echo "Error creating database: " . $conn->error; } $conn->close(); ?> <!-- Creates a Data Table --> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "myDB"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } // sql to create table $sql = "CREATE TABLE MyGuests ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, firstname VARCHAR(30) NOT NULL, lastname VARCHAR(30) NOT NULL, email VARCHAR(50), reg_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP )"; if ($conn->query($sql) === TRUE) { echo "Table MyGuests created successfully"; } else { echo "Error creating table: " . $conn->error; } $conn->close(); ?> <!-- Inserts a record --> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "myDB"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "INSERT INTO MyGuests (firstname, lastname, email) VALUES ('Sushil', 'Pudke', 'sushil.softech@gmail.com')"; if ($conn->query($sql) === TRUE) { echo "New record created successfully"; } else { echo "Error: " . $sql . "<br>" . $conn->error; } $conn->close(); ?> <!-- Inserts Multiple records --> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "myDB"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "INSERT INTO MyGuests (firstname, lastname, email) VALUES ('Rizwan', 'Farah', 'atg.rizwanfarah@gmail.com');"; $sql .= "INSERT INTO MyGuests (firstname, lastname, email) VALUES ('Rahul', 'Borkar', 'atg.rahulborkar@gmail.com');"; $sql .= "INSERT INTO MyGuests (firstname, lastname, email) VALUES ('Harshal', 'Yeole', 'atg.harshalyeole@gmail.com')"; if ($conn->multi_query($sql) === TRUE) { echo "New records created successfully"; } else { echo "Error: " . $sql . "<br>" . $conn->error; } $conn->close(); ?> <!-- Prepared Statement to insert records --> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "myDB"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } // prepare and bind $stmt = $conn->prepare("INSERT INTO MyGuests (firstname, lastname, email) VALUES (?, ?, ?)"); $stmt->bind_param("sss", $firstname, $lastname, $email); // set parameters and execute $firstname = "Supriya"; $lastname = "Nitnaware"; $email = "atg.supriyanitnaware@gmail.com"; $stmt->execute(); $firstname = "Shashank"; $lastname = "Karhade"; $email = "atg.shashankkarhade@gmail.com"; $stmt->execute(); $firstname = "Gayatri"; $lastname = "Bansode"; $email = "atg.gayatribansode@gmail.com"; $stmt->execute(); echo "New records created successfully"; $stmt->close(); $conn->close(); ?>
<!-- string type of data --> <?php $x = "Hello world!"; $y = 'Hello world!'; echo $x; echo "<br>"; echo $y; ?> <!-- integer type of data --> <?php $x = 5985; var_dump($x); ?> <!-- float type of data --> <?php $x = 10.365; var_dump($x); ?> <!-- boolean type of data --> <?php $true=true; $false=false; var_dump($true,$false); ?> <!-- Array type of data --> <?php $cars = array("Volvo","BMW","Toyota"); var_dump($cars); ?> <!-- Object type of data --> <?php class Car { public $color; public $model; public function __construct($color, $model) { $this->color = $color; $this->model = $model; } public function message() { return "My car is a " . $this->color . " " . $this->model . "!"; } } $myCar = new Car("black", "Volvo"); echo $myCar -> message(); echo "<br>"; $myCar = new Car("red", "Toyota"); echo $myCar -> message(); ?> <!-- null values --> <?php $x = "Hello world!"; $x = null; var_dump($x); ?> <!-- while ..loop --> <?php $x = 1; while($x <= 5) { echo "The number is: $x <br>"; $x++; } ?> <?php $x = 0; while($x <= 100) { echo "The number is: $x <br>"; $x+=10; } ?> <!-- do ..while(expr); loop --> <?php $x = 1; do { echo "The number is: $x <br>"; $x++; } while ($x <= 5); ?> <?php $x = 6; do { echo "The number is: $x <br>"; $x++; } while ($x <= 5); ?> <!-- for loop --> <?php for ($x = 0; $x <= 10; $x++) { echo "The number is: $x <br>"; } ?> <?php for ($x = 0; $x <= 100; $x+=10) { echo "The number is: $x <br>"; } ?> <!-- foreach loop --> <?php $colors = array("red", "green", "blue", "yellow"); foreach ($colors as $value) { echo "$value <br>"; } ?> <?php $age = array("Amit"=>"35", "Anil"=>"37", "Priya"=>"23"); foreach($age as $x => $val) { echo "$x = $val<br>"; } ?> <!-- function without argument --> <?php function writeMsg() { echo "Hello world!"; } writeMsg(); // call the function ?> <!-- function with argument --> <?php function familyName($fname) { echo "Hello! $fname .<br>"; } familyName("Amit"); familyName("Anil"); familyName("Priya"); familyName("Gauri"); familyName("Nitin"); ?> <!-- function with two arguments --> <?php function familyName($fname, $year) { echo "$fname . Born in $year <br>"; } familyName("Anil", "1975"); familyName("Amit", "1978"); familyName("Priya", "1983"); ?> <?php function addNumbers(int $a, int $b) { return $a + $b; } echo addNumbers(5, "5 days"); // since strict is NOT enabled "5 days" is changed to int(5), and it will return 10 ?> <?php declare(strict_types=1); // strict requirement function addNumbers(int $a, int $b) { return $a + $b; } echo addNumbers(5, "5 days"); // since strict is enabled and "5 days" is not an integer, an error will be thrown ?> <!-- default arguments --> <?php declare(strict_types=1); // strict requirement function setHeight(int $minheight = 50) { echo "The height is : $minheight <br>"; } setHeight(350); setHeight(); // will use the default value of 50 setHeight(135); setHeight(80); ?> <!-- function returning values --> <?php declare(strict_types=1); // strict requirement function sum(int $x, int $y) { $z = $x + $y; return $z; } echo "5 + 10 = " . sum(5, 10) . "<br>"; echo "7 + 13 = " . sum(7, 13) . "<br>"; echo "2 + 4 = " . sum(2, 4); ?> <!-- return type declaration --> <?php declare(strict_types=1); // strict requirement function addNumbers(float $a, float $b) : float { return $a + $b; } echo addNumbers(1.2, 5.2); ?> <?php declare(strict_types=1); // strict requirement function addNumbers(float $a, float $b) : int { return (int)($a + $b); } echo addNumbers(1.2, 5.2); ?> <!-- argument by reference --> <?php function add_five(&$value) { $value += 5; } $num = 2; add_five($num); echo $num; ?> <html> <body> <form action="welcome.php" method="post"> Name: <input type="text" name="name"><br> E-mail: <input type="text" name="email"><br> <input type="submit"> </form> <!-- Welcome.php --> </body> </html> <html> <body> Welcome <?php echo $_POST["name"]; ?><br> Your email address is: <?php echo $_POST["email"]; ?> </body> </html> <!-- form2.php --> <?php extract($_POST); if(isset($swap)) { //first number $x=$fn; //second number $y=$sn; //third is blank $z=0; //now put x's values in $z $z=$x; //and Y's values into $x $x=$y; //again store $z in $y $y=$z; //Print the reversed Values echo "<p align='center'>Now First numebr is : ". $x ."<br/>"; echo "and Second number is : ". $y."</p>"; } ?> <form method="post"> <table align="center"> <tr> <td>Enter First number</td> <td><input type="text" name="fn"/></td> </tr> <tr> <td>Enter Second number</td> <td><input type="text" name="sn"/></td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value="Swap Numbers" name="swap"/></td> </tr> </table> </form>
Nice
<!-- string type of data --> <?php $x = "Hello world!"; $y = 'Hello world!'; echo $x; echo "<br>"; echo $y; ?> <!-- integer type of data --> <?php $x = 5985; var_dump($x); ?> <!-- float type of data --> <?php $x = 10.365; var_dump($x); ?> <!-- boolean type of data --> <?php $true=true; $false=false; var_dump($true,$false); ?> <!-- Array type of data --> <?php $cars = array("Volvo","BMW","Toyota"); var_dump($cars); ?> <!-- Object type of data --> <?php class Car { public $color; public $model; public function __construct($color, $model) { $this->color = $color; $this->model = $model; } public function message() { return "My car is a " . $this->color . " " . $this->model . "!"; } } $myCar = new Car("black", "Volvo"); echo $myCar -> message(); echo "<br>"; $myCar = new Car("red", "Toyota"); echo $myCar -> message(); ?> <!-- null values --> <?php $x = "Hello world!"; $x = null; var_dump($x); ?> <!-- while ..loop --> <?php $x = 1; while($x <= 5) { echo "The number is: $x <br>"; $x++; } ?> <?php $x = 0; while($x <= 100) { echo "The number is: $x <br>"; $x+=10; } ?> <!-- do ..while(expr); loop --> <?php $x = 1; do { echo "The number is: $x <br>"; $x++; } while ($x <= 5); ?> <?php $x = 6; do { echo "The number is: $x <br>"; $x++; } while ($x <= 5); ?> <!-- for loop --> <?php for ($x = 0; $x <= 10; $x++) { echo "The number is: $x <br>"; } ?> <?php for ($x = 0; $x <= 100; $x+=10) { echo "The number is: $x <br>"; } ?> <!-- foreach loop --> <?php $colors = array("red", "green", "blue", "yellow"); foreach ($colors as $value) { echo "$value <br>"; } ?> <?php $age = array("Amit"=>"35", "Anil"=>"37", "Priya"=>"23"); foreach($age as $x => $val) { echo "$x = $val<br>"; } ?> <!-- function without argument --> <?php function writeMsg() { echo "Hello world!"; } writeMsg(); // call the function ?> <!-- function with argument --> <?php function familyName($fname) { echo "Hello! $fname .<br>"; } familyName("Amit"); familyName("Anil"); familyName("Priya"); familyName("Gauri"); familyName("Nitin"); ?> <!-- function with two arguments --> <?php function familyName($fname, $year) { echo "$fname . Born in $year <br>"; } familyName("Anil", "1975"); familyName("Amit", "1978"); familyName("Priya", "1983"); ?> <?php function addNumbers(int $a, int $b) { return $a + $b; } echo addNumbers(5, "5 days"); // since strict is NOT enabled "5 days" is changed to int(5), and it will return 10 ?> <?php declare(strict_types=1); // strict requirement function addNumbers(int $a, int $b) { return $a + $b; } echo addNumbers(5, "5 days"); // since strict is enabled and "5 days" is not an integer, an error will be thrown ?> <!-- default arguments --> <?php declare(strict_types=1); // strict requirement function setHeight(int $minheight = 50) { echo "The height is : $minheight <br>"; } setHeight(350); setHeight(); // will use the default value of 50 setHeight(135); setHeight(80); ?> <!-- function returning values --> <?php declare(strict_types=1); // strict requirement function sum(int $x, int $y) { $z = $x + $y; return $z; } echo "5 + 10 = " . sum(5, 10) . "<br>"; echo "7 + 13 = " . sum(7, 13) . "<br>"; echo "2 + 4 = " . sum(2, 4); ?> <!-- return type declaration --> <?php declare(strict_types=1); // strict requirement function addNumbers(float $a, float $b) : float { return $a + $b; } echo addNumbers(1.2, 5.2); ?> <?php declare(strict_types=1); // strict requirement function addNumbers(float $a, float $b) : int { return (int)($a + $b); } echo addNumbers(1.2, 5.2); ?> <!-- argument by reference --> <?php function add_five(&$value) { $value += 5; } $num = 2; add_five($num); echo $num; ?> <html> <body> <form action="welcome.php" method="post"> Name: <input type="text" name="name"><br> E-mail: <input type="text" name="email"><br> <input type="submit"> </form> </body> </html> <html> <body> Welcome <?php echo $_POST["name"]; ?><br> Your email address is: <?php echo $_POST["email"]; ?> </body> </html> <?php extract($_POST); if(isset($swap)) { //first number $x=$fn; //second number $y=$sn; //third is blank $z=0; //now put x's values in $z $z=$x; //and Y's values into $x $x=$y; //again store $z in $y $y=$z; //Print the reversed Values echo "<p align='center'>Now First numebr is : ". $x ."<br/>"; echo "and Second number is : ". $y."</p>"; } ?> <form method="post"> <table align="center"> <tr> <td>Enter First number</td> <td><input type="text" name="fn"/></td> </tr> <tr> <td>Enter Second number</td> <td><input type="text" name="sn"/></td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value="Swap Numbers" name="swap"/></td> </tr> </table> </form>
nice
nice
// TypeScript First Program let nm="Axiom TechGuru"; let age=15; console.log("Name:"+nm+"Age:"+age); // generate 10 multiples of a given no let n=5; for (let i =1; i <=10; i++) { console.log (n+" * "+i+"=" + (n*i)); } // Defining function in TypeScript function addNumbers(a: number, b: number) { return a + b; } var sum: number = addNumbers(10, 15) console.log('Sum of the two numbers is: ' +sum); <html> <head> <title>My First Type Script Code</title> <script language="JavaScript" src="Prg2.js"></script> </head> <body bgcolor="cyan"> <h1>Exploring TypeScript</h1> </body> </html>
nice
Nice.
Very Nice!
nice
Can’t wait to check out some of your other videos!!! You deserve way more subscribers! Did you ever think of using smzeus . c o m? It will help you get your videos higher in the TH-cam search results!!
nice
nice.
nice
nice
nice
nice
nice one.
nice.
Demo Source Code Download Link drive.google.com/drive/folders/13m66BAblNgbOdt8RiiQCXFsptmh3H3Io?usp=sharing
// Demo Code for an array of Objects import java.lang.*; import java.util.*; class Array1 { private static int tot; private int a; public Array1(){} public Array1(int a) { this.a=a; tot+=a; } public String toString() { return this.a+" "; } public int getA() { return this.a; } public static int getTotal() { return tot; } public static void main(String [] args) { Array1 []arr=new Array1[10]; // Declaration of an array // Input Array Elements for(int i=0;i<arr.length;i++) { Scanner sc=new Scanner(System.in); System.out.println("Enter Data for Sub Array["+i+"]"); int num=sc.nextInt(); arr[i]=new Array1(num); } // Print Array list System.out.println("Array Elements"); for(int i=0;i<arr.length;i++) System.out.println("Arr["+i+"] "+arr[i]); /* // Find total of all array Elements int tot=0; for(int i=0;i<arr.length;i++) tot+=arr[i].getA(); System.out.println("Summation of all Array Elements :"+tot); */ System.out.println("Total of all Objects :"+Array1.getTotal()); // Find the gratest Elements in an array int max=arr[0].getA(); int min=arr[0].getA(); for(int i=1;i<arr.length;i++) { if(arr[i].getA()>max) max=arr[i].getA(); if(arr[i].getA()<min) min=arr[i].getA(); } System.out.println("Maximum value in an array :"+max); System.out.println("Minimum value in an array :"+min); } // End of main }// End of class
Really inspiring video
// Test java File // This file is in default package --Demojava import java.lang.*; import DEMOPK.Base; class Derive extends Base { public void f2() { System.out.println("I am in Derive Class f2"); } } class Test { public static void main(String [] args) { Derive d=new Derive(); d.f1(); // call to Base class Method d.f2(); // Call to Derive class Method } } // WE are in Demopk - package package DEMOPK; public class Base { public void f1() { System.out.println("I am in Base class f1"); } }
Excellent Content! Thank you for sharing video on Django Framework.
// Demonstrating abstract class abstract class Bike{ abstract void run(); } class Honda4 extends Bike{ void run(){System.out.println("running safely");} public static void main(String args[]){ Honda4 obj = new Honda4(); obj.run(); } } // Demonstarating Abstraction using Shape Abstract class abstract class Shape{ abstract void draw(); } //In real scenario, implementation is provided by others i.e. unknown by end user class Rectangle extends Shape{ void draw(){System.out.println("drawing rectangle");} } class Circle1 extends Shape{ void draw(){System.out.println("drawing circle");} } //In real scenario, method is called by programmer or user class TestAbstraction1{ public static void main(String args[]){ Circle1 s=new Circle1();//In a real scenario, object is provided through method, e.g., getShape() method s.draw(); Rectangle r=new Rectangle(); r.draw(); } } //Example of an abstract class that has abstract and non-abstract methods abstract class Bike{ Bike(){System.out.println("bike is created");} abstract void run(); void changeGear(){System.out.println("gear changed");} } //Creating a Child class which inherits Abstract class class Honda extends Bike{ void run(){System.out.println("running safely..");} } //Creating a Test class which calls abstract and non-abstract methods class TestAbstraction2{ public static void main(String args[]){ Honda obj= new Honda(); obj.run(); obj.changeGear(); } } // Another Example of Abstraction abstract class Bank{ abstract int getRateOfInterest(); } class SBI extends Bank{ int getRateOfInterest(){return 7;} } class PNB extends Bank{ int getRateOfInterest(){return 8;} } class TestBank{ public static void main(String args[]){ Bank b; b=new SBI(); System.out.println("Rate of Interest is: "+b.getRateOfInterest()+" %"); b=new PNB(); System.out.println("Rate of Interest is: "+b.getRateOfInterest()+" %"); }} // Demonstrating Interface interface A{ void a(); void b(); void c(); void d(); } abstract class B implements A{ public void c(){System.out.println("I am c");} } class M extends B{ public void a(){System.out.println("I am a");} public void b(){System.out.println("I am b");} public void d(){System.out.println("I am d");} } class Test5{ public static void main(String args[]){ A a=new M(); a.a(); a.b(); a.c(); a.d(); }}
Download Entire Code from Here drive.google.com/drive/folders/1ja6zNyAYc2iorD58n1H9F6HOAyw30ZoR?usp=sharing Sequance for Creating Django Web Base project 1. py --version -- Checks Install python Version 2. pip --version -- Checks install pip version 3. py -m venv (Virtual Environment Name) Creates an Virtual Environment by Sp. Name 4. VE-name\Scripts\activate.bat -- Activates Virtual Environment 5. django-admin --version -- Checks django admin version (py -m pip install Django if not installed) 6. django-admin startproject <projectName> cd projectName 7.python manage.py runserver 8. python manage.py startapp htmlcss
Excellent video on File IO. it really helps.
Excellent! thank you for sharing video.
# a file named "axiom", will be opened with the reading mode. #Demo -1 ''' file = open('axiom.txt', 'r') # This will print every line one by one in the file for each in file: print (each) ''' #Demo -2 # Python code to illustrate read() mode ''' file = open('axiom.txt', 'r') print(file.read()) ''' ''' # Python code to illustrate read() mode character wise file = open("axiom.txt", "r") print(file.read(5)) ''' # Demo Creating /Writing Contents to File ''' # Python code to create a file file = open('newaxiom.txt','w') file.write("This is the write command ") file.write("It allows us to write in a particular file") file.close() ''' file = open('newaxiom.txt', 'r') print(file.read()) # Demo Append - At the End of Exist File ''' # Python code to illustrate append() mode file = open('axiom.txt','a') file.write(" This will add this line") file.close() ''' file = open('axiom.txt', 'r') print(file.read()) # Demo With ''' # Python code to illustrate with() with open("axiom.txt") as file: data = file.read() print(data) # do something with data ''' # Python code to illustrate with() alongwith write() with open("test.txt", "w") as f: f.write("Hello World!!!") # Python code to illustrate split() function with open("axiom.txt", "r") as file: data = file.readlines() for line in data: word = line.split() print(word)